Skip to content

Publish to Google Cloud #95

Publish to Google Cloud

Publish to Google Cloud #95

Workflow file for this run

name: Publish to Google Cloud
on:
workflow_dispatch:
jobs:
Deploy_to_GAE:
runs-on: ubuntu-latest
steps:
- name: Checkout Repo
uses: actions/checkout@v2
- name: Setup Node.js
uses: actions/setup-node@v2
with:
node-version: 16
- name: Install Dependencies
run: npm install
- name: Build Node.js Project
run: npm run build
- name: Setup Google Cloud SDK
uses: google-github-actions/setup-gcloud@v0.2.0
with:
project_id: ${{secrets.GCP_PROJECT}}
service_account_key: ${{secrets.GCP_CREDENTIALS}}
- name: Deploy to Google App Engine
uses: google-github-actions/deploy-appengine@v0.2.0
with:
deliverables: app.yaml
project_id: ${{ secrets.GCP_PROJECT }}
credentials: ${{ secrets.GCP_SA_KEY }}
promote: true
version: v1