Skip to content

Commit c5b54b7

Browse files
committed
Rename conclusion job
1 parent 908b6e1 commit c5b54b7

File tree

1 file changed

+12
-7
lines changed

1 file changed

+12
-7
lines changed

.github/workflows/main.yml

Lines changed: 12 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -62,20 +62,25 @@ jobs:
6262
concurrency: deploy
6363
permissions:
6464
id-token: write
65+
pages: write
6566
if: github.event_name == 'merge_group'
6667
steps:
6768
- name: Download built JSON API and sync-team
6869
uses: actions/download-artifact@v4
6970
with:
7071
name: team-api-output
7172
path: build
73+
74+
- name: Disable Jekyll
75+
run: touch build/.nojekyll
76+
77+
- name: Upload GitHub pages artifact
78+
uses: actions/upload-pages-artifact@v3
79+
with:
80+
path: build
81+
7282
- name: Deploy to GitHub Pages
73-
run: |
74-
touch build/.nojekyll
75-
curl -LsSf https://raw.githubusercontent.com/rust-lang/simpleinfra/master/setup-deploy-keys/src/deploy.rs | rustc - -o /tmp/deploy
76-
(cd build && /tmp/deploy)
77-
env:
78-
GITHUB_DEPLOY_KEY: ${{ secrets.GITHUB_DEPLOY_KEY }}
83+
uses: actions/deploy-pages@v4
7984

8085
- name: Configure AWS credentials
8186
uses: aws-actions/configure-aws-credentials@v1
@@ -100,7 +105,7 @@ jobs:
100105
101106
# Summary job for the merge queue.
102107
# ALL THE PREVIOUS JOBS NEED TO BE ADDED TO THE `needs` SECTION OF THIS JOB!
103-
conclusion:
108+
CI:
104109
needs: [ test, deploy ]
105110
# We need to ensure this job does *not* get skipped if its dependencies fail,
106111
# because a skipped job is considered a success by GitHub. So we have to

0 commit comments

Comments
 (0)