mirror of
https://github.com/getpelican/pelican.git
synced 2025-10-15 20:28:56 +02:00
Only run 'Deploy' action on main repository
Deploy action will always fail on forks as the token is not there.
This commit is contained in:
parent
82e2571754
commit
5c36cfbb9b
1 changed files with 1 additions and 1 deletions
2
.github/workflows/main.yml
vendored
2
.github/workflows/main.yml
vendored
|
|
@ -97,7 +97,7 @@ jobs:
|
||||||
environment: Deployment
|
environment: Deployment
|
||||||
needs: [test, lint, docs]
|
needs: [test, lint, docs]
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
if: github.ref=='refs/heads/master' && github.event_name!='pull_request'
|
if: github.ref=='refs/heads/master' && github.event_name!='pull_request' && github.repository == 'getpelican/pelican'
|
||||||
|
|
||||||
permissions:
|
permissions:
|
||||||
contents: write
|
contents: write
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue