Merge pull request #3083 from glific/test-cases #1104
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: Continuous Deployment | |
on: | |
push: | |
branches: [master] | |
jobs: | |
deploy: | |
# only run this job if the verify job succeeds | |
# only run this job if the workflow is running on the feature/master branch | |
if: github.ref == 'refs/heads/master' | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
ref: master # Checkout out master instead of the latest commit | |
fetch-depth: 0 # Checkout the whole branch | |
# setup the python | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: '3.9' | |
# configure the gigalixir-actions with our credentials and app name | |
- uses: gigalixir/[email protected] | |
with: | |
GIGALIXIR_USERNAME: ${{ secrets.GIGALIXIR_USERNAME }} | |
GIGALIXIR_PASSWORD: ${{ secrets.GIGALIXIR_PASSWORD }} | |
GIGALIXIR_APP: ${{ secrets.GIGALIXIR_APPNAME }} | |
SSH_PRIVATE_KEY: ${{ secrets.SSH_PRIVATE_KEY }} | |
MIGRATIONS: false |