This is an automated email from the ASF dual-hosted git repository.

ptuomola pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/fineract.git

commit f2b60a19f954cb120e7a354665e97db650d17b08
Author: Michael Vorburger <[email protected]>
AuthorDate: Sat Sep 11 16:42:59 2021 +0200

    Revert "Disable broken fineract.dev.yaml "
    
    This reverts commit 4522b71dfd11a885d7d5165f81e6d80db37e65ed.
    
    See https://github.com/vorburger/www.fineract.dev/issues/6
---
 .github/workflows/fineract.dev.yaml | 38 +++++++++++++++++++++++++++++++++++++
 1 file changed, 38 insertions(+)

diff --git a/.github/workflows/fineract.dev.yaml 
b/.github/workflows/fineract.dev.yaml
new file mode 100644
index 0000000..4b7c0b7
--- /dev/null
+++ b/.github/workflows/fineract.dev.yaml
@@ -0,0 +1,38 @@
+# 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
+    if: github.repository == 'apache/fineract'
+    runs-on: ubuntu-latest
+
+    steps:
+      - uses: google-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 components install beta
+
+      - run: JOBS=$(gcloud beta builds list --ongoing 
--format="value[terminator=' '](id)") && [ ! -z "$JOBS" ] && echo "Cancelling 
$JOBS..." && gcloud builds cancel $JOBS --no-user-output-enabled || true
+
+      - run: gcloud beta builds triggers list
+
+      - run: gcloud beta builds triggers run deploy-demo

Reply via email to