diff --git a/.github/workflows/docs.yaml b/.github/workflows/docs.yaml index ee2f5f5..919be7e 100644 --- a/.github/workflows/docs.yaml +++ b/.github/workflows/docs.yaml @@ -3,7 +3,7 @@ on: - push jobs: diagram: - if: github.actor == 'walkerlab' + if: github.repository_owner == 'walkerlab' runs-on: ubuntu-latest steps: - name: Install dependencies @@ -27,7 +27,7 @@ jobs: git commit -m "Update crate diagram." || echo "Diagram unchanged, skipping commit." git push api: - if: github.actor == 'walkerlab' && github.ref == 'refs/heads/dev' + if: github.repository_owner == 'walkerlab' && github.ref == 'refs/heads/dev' runs-on: ubuntu-latest permissions: pages: write diff --git a/README.md b/README.md index cf85208..de69619 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,6 @@ +[![orcapod API docs](https://img.shields.io/website?url=https://walkerlab.github.io/orcapod/&label=docs) +](https://walkerlab.github.io/orcapod/) + # orcapod ![orcapod crate diagram](docs/crate_diagram.svg "Orcapod Crate Diagram")