File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change 1
1
name : CI
2
2
3
- on : [ push, pull_request ]
3
+ on :
4
+ pull_request :
5
+ merge_group :
4
6
5
7
jobs :
6
8
ci :
@@ -61,24 +63,23 @@ jobs:
61
63
run : touch build/.nojekyll
62
64
63
65
- name : Upload GitHub pages artifact
64
- if : github.event_name == 'push' && github.ref == 'refs/heads/master'
65
66
uses : actions/upload-pages-artifact@v3
66
67
with :
67
68
path : build
68
69
69
70
- name : Deploy to GitHub Pages
70
- if : github.event_name == 'push' && github.ref == 'refs/heads/master '
71
+ if : github.event_name == 'merge_group '
71
72
uses : actions/deploy-pages@v4
72
73
73
74
- name : Configure AWS credentials
74
- if : github.event_name == 'push' && github.ref == 'refs/heads/master '
75
+ if : github.event_name == 'merge_group '
75
76
uses : aws-actions/configure-aws-credentials@v1
76
77
with :
77
78
role-to-assume : arn:aws:iam::890664054962:role/ci--rust-lang--team
78
79
aws-region : us-west-1
79
80
80
81
- name : Start the synchronization tool
81
- if : github.event_name == 'push' && github.ref == 'refs/heads/master '
82
+ if : github.event_name == 'merge_group '
82
83
run : |
83
84
# Introduce some artificial delay to help github pages propagate.
84
85
sleep 60
You can’t perform that action at this time.
0 commit comments