From 43704c67df68b19cbbee00d8795fc47329c8fee3 Mon Sep 17 00:00:00 2001 From: McClain Looney Date: Tue, 9 Nov 2021 16:13:29 -0600 Subject: [PATCH] Adds workflow to trigger nurax deploy on push --- .github/workflows/main.yml | 17 +++++++++++++++++ .github/workflows/release.yml | 17 +++++++++++++++++ 2 files changed, 34 insertions(+) create mode 100644 .github/workflows/main.yml create mode 100644 .github/workflows/release.yml diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 0000000000..1ee780289c --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,17 @@ +name: Trigger Nurax build +on: + workflow_dispatch: + push: + +jobs: + trigger: + runs-on: ubuntu-latest + steps: + - uses: peter-evans/repository-dispatch@v1 + with: + token: ${{ secrets.NURAX_ACCESS_TOKEN }} + event-type: push + repository: curationexperts/nurax + client-payload: '{"ref": "${{ github.ref }}", "sha": "${{ github.sha }}"}' + + diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml new file mode 100644 index 0000000000..ecdf38017d --- /dev/null +++ b/.github/workflows/release.yml @@ -0,0 +1,17 @@ +name: Trigger Nurax build +on: + workflow_dispatch: + release: + +jobs: + trigger: + runs-on: ubuntu-latest + steps: + - uses: peter-evans/repository-dispatch@v1 + with: + token: ${{ secrets.NURAX_ACCESS_TOKEN }} + event-type: release + repository: curationexperts/nurax + client-payload: '{"ref": "${{ github.ref }}", "sha": "${{ github.sha }}"}' + +