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