Update .gitea/workflows/DeployPR.yaml
parent
ffed04c846
commit
cc61dba1a8
|
@ -7,19 +7,19 @@ on:
|
||||||
jobs:
|
jobs:
|
||||||
Deploy PR:
|
Deploy PR:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
container:
|
|
||||||
image: python
|
|
||||||
steps:
|
steps:
|
||||||
|
- uses: actions/checkout@v4
|
||||||
|
- 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 Deploy script
|
- name: Run Deploy script
|
||||||
run: >
|
run: >
|
||||||
python3 deploy/portainer/deploy.py
|
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
|
||||||
--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}
|
||||||
--DEPLOY_HOST=dvdemo.privatedns.org
|
--DEPLOY_HOST=dvdemo.privatedns.org
|
||||||
|
|
Loading…
Reference in New Issue