Skip to content

Commit

Permalink
[ENG-1744] tz-solve build trigger (#149)
Browse files Browse the repository at this point in the history
  • Loading branch information
ollie-bell authored Sep 22, 2024
1 parent 9e9ed93 commit 7e811ff
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 18 deletions.
38 changes: 38 additions & 0 deletions .github/workflows/trigger-tz-solve-build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
name: tz-solve build trigger

on:
push:
branches:
- main
- staging
paths:
- tz/osemosys/**
- pyproject.toml
- .github/workflows/trigger-tz-solve-build.yml
release:
types: [published]

jobs:
trigger-tz-solve-build:
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v4

- id: auth
uses: google-github-actions/auth@v2
with:
credentials_json: ${{ secrets.TZ_SOLVE_SERVICE_ACCOUNT_KEY }}

- name: Set up Cloud SDK
uses: google-github-actions/setup-gcloud@v2
with:
version: latest

- name: Trigger tz-solve build
run: |
gcloud builds triggers run tz-solve-build \
--region=europe-west2 \
--branch=main \
--substitutions=_REF=${{ github.ref_name }}
18 changes: 0 additions & 18 deletions .github/workflows/tz-solve-osemosys-build-webhook.yml

This file was deleted.

0 comments on commit 7e811ff

Please sign in to comment.