fix: upgrade eslint-plugin-react from 7.32.2 to 7.37.2 #557
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
name:docker owner/repo@[email protected] | ||
branches: [main] | ||
path: docker | ||
jobs: | ||
build_docs: | ||
name: Build docs | ||
runs-on: github | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: ./.github/actions/setup-rust | ||
- run: cargo doc --no-deps | ||
- uses: actions/upload-artifact@v3 | ||
with: | ||
name: docs_rs | ||
path: ./target/doc/ | ||
commit_docs: | ||
name: Commit docs | ||
needs: build_docs | ||
runs-on: internet | ||
steps: | ||
- uses: actions/checkout@v3 | ||
with: | ||
ref: gh-pages | ||
- uses: actions/download-artifact@v3 | ||
with: | ||
name: docs_rs | ||
path: ./target/doc | ||
- run: ls -a | ||
- run: rm -rf ./docs/docs.rs | ||
- run: mkdir docs || true # || true to make sure exit code is 0 even if dir exists | ||
- run: cp -r ./target/doc ./docs/docs.rs | ||
- uses: git-auto-commit-action@v4 | ||
with: | ||
commit_message: Update (${{ github.sha }}) |