mirror of
https://github.com/ditatompel/insights.git
synced 2025-01-08 03:12:06 +07:00
fix: Only run deploy action on main repo
The previous deploy workflow is executed to all forks.
This commit is contained in:
parent
26e9ee932f
commit
fb00b3b3e1
1 changed files with 1 additions and 0 deletions
1
.github/workflows/deploy-to-vps.yaml
vendored
1
.github/workflows/deploy-to-vps.yaml
vendored
|
@ -12,6 +12,7 @@ on:
|
|||
jobs:
|
||||
publish:
|
||||
runs-on: ubuntu-latest
|
||||
if: github.repository_owner == 'ditatompel'
|
||||
environment: production
|
||||
permissions:
|
||||
contents: read
|
||||
|
|
Loading…
Reference in a new issue