fix: Only run deploy action on main repo

The previous deploy workflow is executed to all forks.
This commit is contained in:
Cristian Ditaputratama 2023-11-11 15:17:00 +07:00
parent 26e9ee932f
commit fb00b3b3e1
Signed by: ditatompel
GPG key ID: 31D3D06D77950979

View file

@ -12,6 +12,7 @@ on:
jobs: jobs:
publish: publish:
runs-on: ubuntu-latest runs-on: ubuntu-latest
if: github.repository_owner == 'ditatompel'
environment: production environment: production
permissions: permissions:
contents: read contents: read