Merge pull request #1081 from paug/redirect-to-droidcon-website #44
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
# Deploys to the backend | |
name: Backend Deploy | |
on: | |
push: | |
branches: | |
- 'main' | |
# Only one deploy at a time to not mess up the terraform state | |
concurrency: | |
group: backend-deploy | |
jobs: | |
deploy: | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
lfs: 'true' | |
- uses: actions/setup-java@v3 | |
with: | |
distribution: 'zulu' | |
java-version: 17 | |
- run: ./gradlew :terraform:apply | |
env: | |
GOOGLE_APPLICATION_CREDENTIALS_CONTENT: ${{ secrets.GOOGLE_APPLICATION_CREDENTIALS_CONTENT }} | |
TF_VAR_gandi_access_token: ${{ secrets.TF_VAR_gandi_access_token }} |