Skip to content

Commit

Permalink
Fix documentation github action failing on forks (#764)
Browse files Browse the repository at this point in the history
* fix docgen

* npm audit fix
  • Loading branch information
tnfAngel authored Feb 21, 2024
1 parent 60e8092 commit 3d02f08
Show file tree
Hide file tree
Showing 2 changed files with 308 additions and 176 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/docgen.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ on:
- '*'
jobs:
docgen:
if: github.repository_owner == 'fnbrjs'
name: Documentation
runs-on: ubuntu-latest
steps:
Expand All @@ -31,14 +32,14 @@ jobs:
with:
path: docs
ref: docs

- name: Checkout DocGen Repository
uses: actions/checkout@v2
with:
repository: fnbrjs/docgen
token: ${{ secrets.BOT_PAT }}
path: docgen

- name: Install Main Repository Dependencies
working-directory: ./main
run: npm ci
Expand Down
Loading

0 comments on commit 3d02f08

Please sign in to comment.