From b380440f5aac568626b6ff223dd83584f16c3240 Mon Sep 17 00:00:00 2001 From: lars Date: Wed, 4 Oct 2023 15:33:02 -0500 Subject: [PATCH] Fix steps syntax in workflow --- .gitea/workflows/DeployPR.yaml | 6 ++++-- .gitea/workflows/UndeployPR.yaml | 6 ++++-- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/.gitea/workflows/DeployPR.yaml b/.gitea/workflows/DeployPR.yaml index cb86e24..0051002 100644 --- a/.gitea/workflows/DeployPR.yaml +++ b/.gitea/workflows/DeployPR.yaml @@ -10,8 +10,10 @@ jobs: container: image: python steps: - - pip3 install requests python-dotenv --quiet - - python3 deploy/portainer/deploy.py + - 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 diff --git a/.gitea/workflows/UndeployPR.yaml b/.gitea/workflows/UndeployPR.yaml index dfb109c..95d9dbc 100644 --- a/.gitea/workflows/UndeployPR.yaml +++ b/.gitea/workflows/UndeployPR.yaml @@ -10,8 +10,10 @@ jobs: container: image: python steps: - - pip3 install requests python-dotenv --quiet - - python3 deploy/portainer/undeploy.py + - name: Install pip packages + run: pip3 install requests python-dotenv --quiet + - name: Run Undeploy script + run: python3 deploy/portainer/undeploy.py --PORTAINER https://dvportainer.privatedns.org --PORTAINER_API_KEY=ptr_RwxH2Cd+htdD2FoFiG46erT9beyvj9VoF3BrQPtDH3Q= --PORTAINER_EP=CICD-runner