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: catthehacker/ubuntu:act-latest steps: - uses: actions/checkout@v4 - uses: actions/setup-python@v4 with: python-version: '3.12.0' - name: Install pip packages run: pip install requests python-dotenv --quiet - name: Run Deploy script run: > python 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=${GITHUB_SERVER_URL}/${GITHUB_REPOSITORY} --DEPLOY_BRANCH=${GITHUB_HEAD_REF} --DEPLOY_HOST=dvdemo.privatedns.org