Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stop in the workflow run ID to gh run download #3593

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/workflows/preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,13 +55,13 @@ jobs:

- name: Create preview layout
run: |
gh run download '${{ github.event.worfklow_run.id }}' --name 'foreman-docs-web-master' --dir preview
gh run download '${{ github.event.worfklow_run.id }}' --name 'foreman-docs-html-${{ fromJSON(env.PR_DATA).branch_name }}' --dir 'preview/${{ fromJSON(env.PR_DATA).target_name }}'
gh run download '${{ github.event.workflow_run.id }}' --name 'foreman-docs-web-master' --dir preview
gh run download '${{ github.event.workflow_run.id }}' --name 'foreman-docs-html-${{ fromJSON(env.PR_DATA).branch_name }}' --dir 'preview/${{ fromJSON(env.PR_DATA).target_name }}'
env:
GH_TOKEN: ${{ github.token }}

- name: Create old base
run: gh run download '${{ github.event.worfklow_run.id }}' --name foreman-docs-html-base --dir old
run: gh run download '${{ github.event.workflow_run.id }}' --name foreman-docs-html-base --dir old
env:
GH_TOKEN: ${{ github.token }}

Expand Down
Loading