Skip to content

Merge pull request #6 from jeryldev/car-rentals/check-cd #2

Merge pull request #6 from jeryldev/car-rentals/check-cd

Merge pull request #6 from jeryldev/car-rentals/check-cd #2

Workflow file for this run

name: Gigalixir CD
on:
push:
branches:
- main
jobs:
deploy:
if: github.ref == 'refs/heads/main'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
ref: main # Check out main instead of the latest commit
fetch-depth: 0 # Checkout the whole branch
- uses: actions/setup-python@v2
with:
python-version: 3.8.1
- uses: mhanberg/[email protected]
with:
GIGALIXIR_APP: ${{ secrets.GIGALIXIR_APP }} # Feel free to also put this in your secrets
GIGALIXIR_CLEAN: true # defaults to false
GIGALIXIR_USERNAME: ${{ secrets.GIGALIXIR_USERNAME }}
GIGALIXIR_PASSWORD: ${{ secrets.GIGALIXIR_PASSWORD }}
MIGRATIONS: false # defaults to true
SSH_PRIVATE_KEY: ${{ secrets.SSH_PRIVATE_KEY }}