From cc61dba1a84aca1d1f6a023dc4f98cabe2daf7fb Mon Sep 17 00:00:00 2001 From: lars Date: Thu, 5 Oct 2023 00:58:47 +0000 Subject: [PATCH] Update .gitea/workflows/DeployPR.yaml --- .gitea/workflows/DeployPR.yaml | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/.gitea/workflows/DeployPR.yaml b/.gitea/workflows/DeployPR.yaml index e364409..fa249d1 100644 --- a/.gitea/workflows/DeployPR.yaml +++ b/.gitea/workflows/DeployPR.yaml @@ -7,19 +7,19 @@ on: jobs: Deploy PR: runs-on: ubuntu-latest - container: - image: python steps: + - uses: actions/checkout@v4 + - uses: actions/setup-python@v4 - name: Install pip packages run: pip3 install requests python-dotenv --quiet - name: Run Deploy script run: > - python3 deploy/portainer/deploy.py - --PORTAINER https://dvportainer.privatedns.org - --PORTAINER_API_KEY=ptr_RwxH2Cd+htdD2FoFiG46erT9beyvj9VoF3BrQPtDH3Q= - --PORTAINER_EP=CICD-runner - --GITEA_API_KEY=f449c74ec7f04e54fe1e481eae43492b34cea406 - --DEPLOY_REPO_URL=${DRONE_REPO_LINK} - --DEPLOY_BRANCH=${DRONE_SOURCE_BRANCH} - --DEPLOY_HOST=dvdemo.privatedns.org + python3 deploy/portainer/deploy.py + --PORTAINER https://dvportainer.privatedns.org + --PORTAINER_API_KEY=ptr_RwxH2Cd+htdD2FoFiG46erT9beyvj9VoF3BrQPtDH3Q= + --PORTAINER_EP=CICD-runner + --GITEA_API_KEY=f449c74ec7f04e54fe1e481eae43492b34cea406 + --DEPLOY_REPO_URL=${DRONE_REPO_LINK} + --DEPLOY_BRANCH=${DRONE_SOURCE_BRANCH} + --DEPLOY_HOST=dvdemo.privatedns.org \ No newline at end of file