devops: Work without local psql #173
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Push master -> devops/deploy-to-dev | |
on: | |
# Auto deploy master to dev on push to master | |
push: | |
branches: | |
- 'master' | |
# Allow manual deployment in github | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
ref: 'master' | |
ssh-key: ${{ secrets.SSH_KEY }} | |
- name: Push for deployment | |
run: | | |
git push --force origin HEAD:devops/deploy-to-dev |