Fix steps syntax in workflow
This commit is contained in:
@@ -10,8 +10,10 @@ jobs:
|
|||||||
container:
|
container:
|
||||||
image: python
|
image: python
|
||||||
steps:
|
steps:
|
||||||
- pip3 install requests python-dotenv --quiet
|
- name: Install pip packages
|
||||||
- python3 deploy/portainer/deploy.py
|
run: pip3 install requests python-dotenv --quiet
|
||||||
|
- name: Run Deploy script
|
||||||
|
run: python3 deploy/portainer/deploy.py
|
||||||
--PORTAINER https://dvportainer.privatedns.org
|
--PORTAINER https://dvportainer.privatedns.org
|
||||||
--PORTAINER_API_KEY=ptr_RwxH2Cd+htdD2FoFiG46erT9beyvj9VoF3BrQPtDH3Q=
|
--PORTAINER_API_KEY=ptr_RwxH2Cd+htdD2FoFiG46erT9beyvj9VoF3BrQPtDH3Q=
|
||||||
--PORTAINER_EP=CICD-runner
|
--PORTAINER_EP=CICD-runner
|
||||||
|
@@ -10,8 +10,10 @@ jobs:
|
|||||||
container:
|
container:
|
||||||
image: python
|
image: python
|
||||||
steps:
|
steps:
|
||||||
- pip3 install requests python-dotenv --quiet
|
- name: Install pip packages
|
||||||
- python3 deploy/portainer/undeploy.py
|
run: pip3 install requests python-dotenv --quiet
|
||||||
|
- name: Run Undeploy script
|
||||||
|
run: python3 deploy/portainer/undeploy.py
|
||||||
--PORTAINER https://dvportainer.privatedns.org
|
--PORTAINER https://dvportainer.privatedns.org
|
||||||
--PORTAINER_API_KEY=ptr_RwxH2Cd+htdD2FoFiG46erT9beyvj9VoF3BrQPtDH3Q=
|
--PORTAINER_API_KEY=ptr_RwxH2Cd+htdD2FoFiG46erT9beyvj9VoF3BrQPtDH3Q=
|
||||||
--PORTAINER_EP=CICD-runner
|
--PORTAINER_EP=CICD-runner
|
||||||
|
Reference in New Issue
Block a user