Skip to content

updating release flow #30

updating release flow

updating release flow #30

Workflow file for this run

name: Deploy
on:
push:
tags:
- 'v*.*.*'
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# This workflow contains a single job called "build"
build:
# The type of runner that the job will run on
runs-on: ubuntu-latest
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/[email protected]
- name: yarn install
uses: Borales/[email protected]
with:
# Yarn command
cmd: install
- name: yarn build
uses: Borales/[email protected]
env:
REACT_APP_GOOGLE_ANALYTICS_TRACKING_ID: ${{secrets.REACT_APP_GOOGLE_ANALYTICS_TRACKING_ID}}
with:
# Yarn command
cmd: build
- name: yarn test
uses: Borales/[email protected]
with:
# Yarn command
cmd: test
- name: deploy
uses: actions-hub/gcloud@master
env:
PROJECT_ID: ${{secrets.GCLOUD_PROJECT_ID}}
APPLICATION_CREDENTIALS: ${{secrets.GOOGLE_APPLICATION_CREDENTIALS}}
with:
args: app deploy app.yaml