Skip to content

Commit

Permalink
try
Browse files Browse the repository at this point in the history
  • Loading branch information
edg-l committed Nov 26, 2024
1 parent 3d94eef commit 1196c40
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 20 deletions.
21 changes: 14 additions & 7 deletions .github/workflows/document.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ on:
push:
branches:
- master
pull_request:
permissions:
contents: read
pages: write
Expand All @@ -13,14 +12,22 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/configure-pages@v5
- uses: swatinem/rust-cache@v2
- uses: actions/configure-pages@v5
- uses: homebrew/actions/setup-homebrew@master
- run: tools/setup.sh
- run: cargo doc
- run: rm target/doc/.lock
- run: cargo clean --doc
- run: cargo doc --document-private-items
- name: Generate index.html file
run: |
echo "<meta http-equiv=refresh content=0;url=tblgen-alt/index.html>" > target/doc/index.html
- uses: actions/upload-pages-artifact@v3
with:
path: target/doc
- uses: actions/deploy-pages@v4
if: github.ref == 'refs/heads/main'
path: ./target/doc
deploy:
needs: build
runs-on: ubuntu-latest
steps:
- name: Deploy documentation
id: pages
uses: actions/deploy-pages@v4
13 changes: 0 additions & 13 deletions .gitlab-ci.yml

This file was deleted.

0 comments on commit 1196c40

Please sign in to comment.