We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents d1d64b1 + 1294a29 commit bfce704Copy full SHA for bfce704
.github/workflows/docs.yml
@@ -0,0 +1,25 @@
1
+name: Upload documentation
2
+
3
+on:
4
+ push:
5
+ branches:
6
+ - master
7
8
+jobs:
9
+ upload_docs:
10
+ name: Upload documentation
11
+ runs-on: ubuntu-18.04
12
+ if: github.repository == 'rust-lang/libc'
13
14
+ steps:
15
+ - uses: actions/checkout@v2
16
+ - name: Setup Rust toolchain
17
+ run: TARGET=x86_64-unknown-linux-gnu sh ./ci/install-rust.sh
18
+ - name: Generate documentation
19
+ run: LIBC_CI=1 sh ci/dox.sh
20
+ - name: Upload documentation to GitHub Pages
21
+ uses: rust-lang/simpleinfra/github-actions/static-websites@master
22
+ with:
23
+ deploy_dir: target/doc
24
+ github_token: "${{ secrets.GITHUB_TOKEN }}"
25
+ if: github.ref == 'refs/heads/master'
ci/azure-master.yml
0 commit comments