Skip to content

Bump the github-actions group with 2 updates #155

Bump the github-actions group with 2 updates

Bump the github-actions group with 2 updates #155

Workflow file for this run

---
name: 'Deploy Staging'
on:
push:
branches:
- develop
# Only allow one deployment at a time. Cancel the others
# https://docs.github.com/en/actions/writing-workflows/choosing-what-your-workflow-does/control-the-concurrency-of-workflows-and-jobs
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: ${{ github.ref != 'refs/heads/develop' }}
jobs:
deploy:
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- name: Cloning repo
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
fetch-depth: 0
persist-credentials: false
- name: Push to dokku
uses: dokku/github-action@823c08b33e974704528c7c7f3d3d8002426e7634 # v1.9.0
env:
SSH_PRIVATE_KEY: ${{ secrets.DEPLOY_DOKKU_SSH_PRIVATE_KEY }}
with:
branch: develop
git_push_flags: '--force'
git_remote_url: 'ssh://dokku@staging.djangonaut.space:22/staging'
ssh_private_key: ${{ env.SSH_PRIVATE_KEY }}