diff --git a/library/stdarch/.github/workflows/doc.yml b/library/stdarch/.github/workflows/doc.yml new file mode 100644 index 000000000000..d2887b369a3b --- /dev/null +++ b/library/stdarch/.github/workflows/doc.yml @@ -0,0 +1,25 @@ +name: Docs + +on: + push: + branches: + - master + +jobs: + docs: + name: Publish Documentation + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - name: Install Rust + run: rustup update nightly --no-self-update && rustup default nightly + - run: ci/dox.sh + env: + CI: 1 + - name: Publish documentation + run: | + cd target/doc + git init + git add . + git -c user.name='ci' -c user.email='ci' commit -m init + git push -f -q https://git:${{ secrets.github_token }}@github.com/${{ github.repository }} HEAD:gh-pages diff --git a/library/stdarch/.github/workflows/main.yml b/library/stdarch/.github/workflows/main.yml index 6fa886f15c9e..6701cf52f034 100644 --- a/library/stdarch/.github/workflows/main.yml +++ b/library/stdarch/.github/workflows/main.yml @@ -1,12 +1,7 @@ name: CI on: - push: - branches: - - auto - - try pull_request: - branches: - - master + merge_group: jobs: style: @@ -29,14 +24,6 @@ jobs: - run: ci/dox.sh env: CI: 1 - - name: Publish documentation - run: | - cd target/doc - git init - git add . - git -c user.name='ci' -c user.email='ci' commit -m init - git push -f -q https://git:${{ secrets.github_token }}@github.com/${{ github.repository }} HEAD:gh-pages - if: github.event_name == 'push' && github.event.ref == 'refs/heads/master' verify: name: Automatic intrinsic verification