Update .gitea/workflows/UndeployPR.yaml
Undeploy PR / Deploy PR (pull_request) Failing after 52s Details

pull/8/head
lars 2023-10-05 00:59:08 +00:00
parent cc61dba1a8
commit 00e89bdc64
1 changed files with 23 additions and 23 deletions

View File

@ -1,24 +1,24 @@
name: Undeploy PR name: Undeploy PR
run-name: ${{ gitea.actor }} is undeploying a PR run-name: ${{ gitea.actor }} is undeploying a PR
on: on:
pull_request: pull_request:
types: [ closed ] types: [ closed ]
jobs: jobs:
Deploy PR: Deploy PR:
runs-on: ubuntu-latest runs-on: ubuntu-latest
container: steps:
image: python - uses: actions/checkout@v4
steps: - uses: actions/setup-python@v4
- name: Install pip packages - name: Install pip packages
run: pip3 install requests python-dotenv --quiet run: pip3 install requests python-dotenv --quiet
- name: Run Undeploy script - name: Run Undeploy script
run: > run: >
python3 deploy/portainer/undeploy.py 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
--GITEA_API_KEY=f449c74ec7f04e54fe1e481eae43492b34cea406 --GITEA_API_KEY=f449c74ec7f04e54fe1e481eae43492b34cea406
--DEPLOY_REPO_URL=${DRONE_REPO_LINK} --DEPLOY_REPO_URL=${DRONE_REPO_LINK}
--DEPLOY_BRANCH=${DRONE_SOURCE_BRANCH} --DEPLOY_BRANCH=${DRONE_SOURCE_BRANCH}