chore(deps): update actions/checkout digest to eef6144 #203
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on: | |
push: | |
branches: | |
- main | |
name: Docs | |
jobs: | |
docs: | |
name: Build and deploy documentation | |
concurrency: ci-${{ github.ref }} | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4 | |
- uses: dtolnay/rust-toolchain@stable | |
- name: Build rustdocs | |
run: ./scripts/build-docs.sh | |
- name: Organize | |
run: | | |
rm -rf target/gh-pages | |
mkdir target/gh-pages | |
mv target/doc/_redirects target/gh-pages | |
mv target/doc target/gh-pages/rustdoc | |
- name: Publish | |
uses: cloudflare/pages-action@1 | |
with: | |
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }} | |
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }} | |
projectName: datatest-stable | |
directory: target/gh-pages | |
gitHubToken: ${{ secrets.GITHUB_TOKEN }} |