Skip to content

Commit

Permalink
Trigger flowforge package rebuild
Browse files Browse the repository at this point in the history
  • Loading branch information
ppawlowski committed Jul 18, 2023
1 parent 9e39e2a commit 2384795
Showing 1 changed file with 15 additions and 3 deletions.
18 changes: 15 additions & 3 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,6 @@ jobs:
contents: read
packages: write
steps:
- name: debug payload
run: echo ${{ github.event.client_payload.nr_launcher_release_name }}
- name: Checkout
uses: actions/checkout@v3
- name: Set nigthly release
Expand All @@ -40,4 +38,18 @@ jobs:
tag: ${{ env.release_name }}
package: ./package.json
registry: https://npm.pkg.github.com
token: ${{ secrets.GITHUB_TOKEN }}
token: ${{ secrets.GITHUB_TOKEN }}
- name: Generate a token
id: generate_token
uses: tibdex/github-app-token@v1
with:
app_id: ${{ secrets.GH_BOT_APP_ID }}
private_key: ${{ secrets.GH_BOT_APP_KEY }}
- name: Trigger flowforge package rebuild
uses: benc-uk/workflow-dispatch@v1
with:
workflow: publish.yml
repo: flowforge/flowforge
ref: feat-publish-pipeline-poc
token: ${{ steps.generate_token.outputs.token }}
inputs: '{"localfs_ref": "${{ github.ref }}", "localfs_release_name": "${{ env.release_name }}"}'

0 comments on commit 2384795

Please sign in to comment.