Merge pull request #79 from JHWelch/post-vue-cleanup #79
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: Deploy to App Engine | |
on: | |
push: | |
branches: | |
- main | |
concurrency: | |
group: prod-deploy | |
cancel-in-progress: true | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
environment: production | |
permissions: | |
contents: read | |
id-token: write | |
steps: | |
- name: Checkout Repository | |
uses: actions/checkout@v3 | |
- name: Place .env file | |
run: echo "${{ secrets.ENV_FILE }}" | base64 -d > .env | |
- name: Auth with Google | |
uses: google-github-actions/auth@v1 | |
with: | |
workload_identity_provider: ${{ secrets.GOOGLE_WORKFLOW_IDENTITY_PROVIDER }} | |
service_account: ${{ secrets.GOOGLE_SERVICE_ACCOUNT }} | |
- name: Deploy to Google | |
uses: google-github-actions/deploy-appengine@v1 |