Only run build action in main repo
parent
c55ca4c83f
commit
912fa0f721
|
@ -7,6 +7,7 @@ on:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build-push-template:
|
build-push-template:
|
||||||
|
if: ${{ github.repository == 'substrate-developer-hub/substrate-node-template' }}
|
||||||
runs-on: ubuntu-18.04
|
runs-on: ubuntu-18.04
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
|
@ -45,4 +46,4 @@ jobs:
|
||||||
token: ${{ secrets.REPO_ACCESS_TOKEN }}
|
token: ${{ secrets.REPO_ACCESS_TOKEN }}
|
||||||
repository: paritytech/substrate-playground
|
repository: paritytech/substrate-playground
|
||||||
event-type: template-updated
|
event-type: template-updated
|
||||||
client-payload: '{"id": "node-template", "image": "${{ steps.env.outputs.image }}"}'
|
client-payload: '{"id": "node-template", "image": "${{ steps.env.outputs.image }}"}'
|
||||||
|
|
Loading…
Reference in New Issue