Skip to content

Merge pull request #51 from Cray-HPE/MTL-2411 #44

Merge pull request #51 from Cray-HPE/MTL-2411

Merge pull request #51 from Cray-HPE/MTL-2411 #44

Workflow file for this run

name: Deploy docs to github pages
on:
push:
branches: [main]
workflow_dispatch:
env:
TARGET_REPO: Cray-HPE/fawkes
TARGET_REPO_BRANCH: main
TARGET_REPO_WORKFLOW: 62399976 # 'Publish Docs to Github Pages'
jobs:
dispatch_workflows:
name: Dispatch workflows
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Auth token for launching workflows
uses: navikt/github-app-token-generator@v1
id: get-token
with:
private-key: ${{ secrets.ALGOL60_GITHUB_READONLY_APP }}
app-id: ${{ vars.ALGOL60_GITHUB_READONLY_APP_ID }}
- name: Repository Dispatch
env:
GITHUB_TOKEN: ${{ steps.get-token.outputs.token }}
run: |
gh workflow run ${TARGET_REPO_WORKFLOW} -R ${TARGET_REPO} -r ${TARGET_REPO_BRANCH}