Skip to content

Commit 808a54f

Browse files
marcoieniAmanieu
authored andcommitted
use merge queue
1 parent ce89591 commit 808a54f

File tree

2 files changed

+26
-14
lines changed

2 files changed

+26
-14
lines changed

.github/workflows/doc.yml

+25
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: Docs
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
8+
jobs:
9+
docs:
10+
name: Publish Documentation
11+
runs-on: ubuntu-latest
12+
steps:
13+
- uses: actions/checkout@v4
14+
- name: Install Rust
15+
run: rustup update nightly --no-self-update && rustup default nightly
16+
- run: ci/dox.sh
17+
env:
18+
CI: 1
19+
- name: Publish documentation
20+
run: |
21+
cd target/doc
22+
git init
23+
git add .
24+
git -c user.name='ci' -c user.email='ci' commit -m init
25+
git push -f -q https://git:${{ secrets.github_token }}@github.com/${{ github.repository }} HEAD:gh-pages

.github/workflows/main.yml

+1-14
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,7 @@
11
name: CI
22
on:
3-
push:
4-
branches:
5-
- auto
6-
- try
73
pull_request:
8-
branches:
9-
- master
4+
merge_group:
105

116
jobs:
127
style:
@@ -29,14 +24,6 @@ jobs:
2924
- run: ci/dox.sh
3025
env:
3126
CI: 1
32-
- name: Publish documentation
33-
run: |
34-
cd target/doc
35-
git init
36-
git add .
37-
git -c user.name='ci' -c user.email='ci' commit -m init
38-
git push -f -q https://git:${{ secrets.github_token }}@github.com/${{ github.repository }} HEAD:gh-pages
39-
if: github.event_name == 'push' && github.event.ref == 'refs/heads/master'
4027

4128
verify:
4229
name: Automatic intrinsic verification

0 commit comments

Comments
 (0)