File tree Expand file tree Collapse file tree 1 file changed +12
-7
lines changed Expand file tree Collapse file tree 1 file changed +12
-7
lines changed Original file line number Diff line number Diff line change @@ -62,20 +62,25 @@ jobs:
62
62
concurrency : deploy
63
63
permissions :
64
64
id-token : write
65
+ pages : write
65
66
if : github.event_name == 'merge_group'
66
67
steps :
67
68
- name : Download built JSON API and sync-team
68
69
uses : actions/download-artifact@v4
69
70
with :
70
71
name : team-api-output
71
72
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
+
72
82
- 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
79
84
80
85
- name : Configure AWS credentials
81
86
uses : aws-actions/configure-aws-credentials@v1
@@ -100,7 +105,7 @@ jobs:
100
105
101
106
# Summary job for the merge queue.
102
107
# ALL THE PREVIOUS JOBS NEED TO BE ADDED TO THE `needs` SECTION OF THIS JOB!
103
- conclusion :
108
+ CI :
104
109
needs : [ test, deploy ]
105
110
# We need to ensure this job does *not* get skipped if its dependencies fail,
106
111
# because a skipped job is considered a success by GitHub. So we have to
You can’t perform that action at this time.
0 commit comments