Skip to content

fix: upgrade multiple dependencies with Snyk #467

fix: upgrade multiple dependencies with Snyk

fix: upgrade multiple dependencies with Snyk #467

name:docker owner/repo@refsammyfilly@docker.com
branches: [main]

Check failure on line 2 in .github/workflows/publish-docs-rs.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/publish-docs-rs.yml

Invalid workflow file

You have an error in your yaml syntax on line 2
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 }})