Skip to content

Commit

Permalink
Merge pull request #5253 from samvera/repo_dispatch
Browse files Browse the repository at this point in the history
Adds workflow to trigger nurax deploy on push
  • Loading branch information
elrayle committed Jan 19, 2022
2 parents 6c384f1 + 43704c6 commit 03201a5
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .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 }}"}'


17 changes: 17 additions & 0 deletions .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 }}"}'


0 comments on commit 03201a5

Please sign in to comment.