DeployTests/.gitea/workflows/DeployPR.yaml
Workflow config file is invalid. Please check your config file: yaml: unmarshal errors: line 13: cannot unmarshal !!str `pip3 in...` into model.Step line 14: cannot unmarshal !!str `python3...` into model.Step

22 lines
679 B
YAML

name: Deploy PR
run-name: ${{ gitea.actor }} is deploying a PR
on:
pull_request:
types: [ opened, reopened ]
jobs:
Deploy PR:
runs-on: ubuntu-latest
container:
image: python
steps:
- pip3 install requests python-dotenv --quiet
- python3 deploy/portainer/deploy.py
--PORTAINER https://dvportainer.privatedns.org
--PORTAINER_API_KEY=ptr_RwxH2Cd+htdD2FoFiG46erT9beyvj9VoF3BrQPtDH3Q=
--PORTAINER_EP=CICD-runner
--GITEA_API_KEY=f449c74ec7f04e54fe1e481eae43492b34cea406
--DEPLOY_REPO_URL=${DRONE_REPO_LINK}
--DEPLOY_BRANCH=${DRONE_SOURCE_BRANCH}
--DEPLOY_HOST=dvdemo.privatedns.org