Skip to content

Commit

Permalink
Splitting docs into separate job
Browse files Browse the repository at this point in the history
  • Loading branch information
jzbor committed Jul 11, 2024
1 parent 970185d commit 0b799b2
Showing 1 changed file with 0 additions and 26 deletions.
26 changes: 0 additions & 26 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,29 +37,3 @@ jobs:
with:
name: zinn-${{ matrix.features }}
path: target/release/zinn

docs:
runs-on: ubuntu-latest
needs: build
steps:
- uses: actions/checkout@v4
- name: Build docs
run: cargo doc
- name: Fix file permissions
shell: sh
run: |
chmod -c -R +rX "target/doc" |
while read line; do
echo "::warning title=Invalid file permissions automatically fixed::$line"
done
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: './target/doc'
- name: Setup Pages
uses: actions/configure-pages@v5
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4


0 comments on commit 0b799b2

Please sign in to comment.