Update emojis for spooky season #49
Workflow file for this run
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: | |
pull_request: | |
types: | |
- closed | |
branches: | |
- main | |
jobs: | |
deploy: | |
if: github.event.pull_request.merged == true | |
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: Install Node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version: '18.15.0' | |
cache: 'npm' | |
- name: Install Dependencies | |
run: npm ci | |
- 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: Build email templates | |
run: npm run build-emails | |
- name: Deploy to Google | |
uses: google-github-actions/deploy-appengine@v1 | |
# - name: Upload email templates | |
# run: npm run upload-emails |