Last active
September 19, 2021 06:50
-
-
Save hbt/4f56917e252e0e5637a71a3f07036fc8 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: push | |
defaults: | |
run: | |
shell: bash | |
on: | |
push: | |
branches: [main, develop, staging] # // TODO(hbt) NEXT rm staging branch - only relevant because we don't want to merge current work into develop | |
jobs: | |
callworkflow: | |
name: call workflow | |
runs-on: ubuntu-latest | |
steps: | |
- name: Invoke workflow without inputs | |
uses: benc-uk/workflow-dispatch@v1 | |
with: | |
workflow: deploy | |
token: ${{ secrets.GH_TOKEN }} # // TODO(hbt) NEXT Token must have read/write perms | |
inputs: '{ "prefix": "HASSEN", "refName": "staging" }' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment