Skip to content

Commit 3a810f4

Browse files
committed
Fix
1 parent 60ade0e commit 3a810f4

File tree

1 file changed

+7
-9
lines changed

1 file changed

+7
-9
lines changed

.github/workflows/deploy-prod.yml

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,14 @@ jobs:
1111
runs-on: ubuntu-latest
1212
if: github.event.workflow_run.conclusion == 'success' && github.event.workflow_run.event == 'push'
1313
steps:
14+
- name: Checkout repository
15+
uses: actions/checkout@v4
16+
1417
- name: Attach run to the commit
1518
uses: ./.github/actions/set-commit-status
1619
with:
1720
sha: ${{ github.event.workflow_run.head_sha }}
1821

19-
- name: Checkout repository
20-
uses: actions/checkout@v4
21-
2222
- name: Download pages
2323
uses: actions/download-artifact@v4
2424
with:
@@ -49,26 +49,24 @@ jobs:
4949
projectId: cp-algorithms
5050
channelId: live
5151

52-
5352
- name: Set final commit status
5453
uses: ./.github/actions/set-commit-status
5554
if: always()
5655
with:
5756
sha: ${{ github.event.workflow_run.head_sha }}
58-
59-
57+
6058
deploy_github_pages:
6159
runs-on: ubuntu-latest
6260
if: github.event.workflow_run.conclusion == 'success'
6361
steps:
62+
- name: Checkout repository
63+
uses: actions/checkout@v4
64+
6465
- name: Attach run to the commit
6566
uses: ./.github/actions/set-commit-status
6667
with:
6768
sha: ${{ github.event.workflow_run.head_sha }}
6869

69-
- name: Checkout repository
70-
uses: actions/checkout@v4
71-
7270
- name: Download pages
7371
uses: actions/download-artifact@v4
7472
with:

0 commit comments

Comments
 (0)