Skip to content

Instantly share code, notes, and snippets.

@rafinskipg
Created December 27, 2020 08:23
Show Gist options
  • Save rafinskipg/14b1a5346e52c2737a031e5d4a31ddb4 to your computer and use it in GitHub Desktop.
Save rafinskipg/14b1a5346e52c2737a031e5d4a31ddb4 to your computer and use it in GitHub Desktop.
defaultservice.pro.yaml
name: Default Service - PRO
on:
push:
tags:
- v*
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v1
- name: Setup node
uses: actions/setup-node@v1
with:
node-version: 12.x
- name: Generate environment variables file
run: node generate-vars.js "${{ secrets.ENV_VARIABLES_PRO }}"
- name: Initialize Google Cloud SDK & Deploy
uses: etereo-io/deploy-gae-action@master
with:
gae_config_path: './default-pro.yaml'
service_account: ${{ secrets.GCP_SA_KEY }}
project_id: ${{ secrets.PROJECT_ID }}
dispatch_yaml: './dispatch.yaml'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment