automatically deploy to https://Fineract.dev [FINERACT-970]
This commit is contained in:
committed by
Michael Vorburger ⛑️
parent
c764d32d5e
commit
04d3ce673c
@@ -0,0 +1,31 @@
|
||||
# This is the GitHub Action which
|
||||
# automatically updates https://www.fineract.dev
|
||||
#
|
||||
# see https://jira.apache.org/jira/browse/FINERACT-970
|
||||
# https://github.com/marketplace/actions/setup-gcloud-environment
|
||||
# and http://blog2.vorburger.ch/2020/05/fineractdev-cicd-from-github-to-google.html
|
||||
#
|
||||
# Created by Michael Vorburger.ch for Fineract in May 2020.
|
||||
#
|
||||
|
||||
name: Deploy to https://www.fineract.dev
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- develop
|
||||
|
||||
jobs:
|
||||
setup-build-deploy:
|
||||
name: Deploy on Fineract.dev
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: GoogleCloudPlatform/github-actions/setup-gcloud@master
|
||||
with:
|
||||
project_id: ${{ secrets.GOOGLE_PROJECT_ID }}
|
||||
service_account_key: ${{ secrets.GOOGLE_APPLICATION_CREDENTIALS}}
|
||||
|
||||
- uses: actions/checkout@v2
|
||||
|
||||
- run: gcloud beta builds triggers run deploy-demo --branch master --format=none
|
||||
Reference in New Issue
Block a user