Skip to content

Merge pull request #1077 from paug/terraform #40

Merge pull request #1077 from paug/terraform

Merge pull request #1077 from paug/terraform #40

# Deploys to the backend
name: Backend Deploy
on:
push:
branches:
- 'main'
# Cancel any current or previous job from the same PR
concurrency:
group: backend-deploy-${{ github.head_ref }}
cancel-in-progress: true
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
- name: Setup Gradle
uses: gradle/gradle-build-action@v2
- name: Build
run: ./gradlew setupCredentials && ./gradlew appengineDeploy
env:
FIREBASE_SERVICES_JSON: ${{ secrets.FIREBASE_SERVICES_JSON }}