solutions/.github/workflows/build-push-template.yml

20 lines
510 B
YAML
Raw Normal View History

2020-06-17 12:16:26 +00:00
name: Build and Push template
on:
push:
branches:
- master
jobs:
build-push-template:
2020-08-20 13:00:53 +00:00
if: ${{ github.repository == 'substrate-developer-hub/substrate-node-template' }}
2020-06-17 12:16:26 +00:00
runs-on: ubuntu-18.04
steps:
- name: Trigger playground inclusion
uses: peter-evans/repository-dispatch@v1
with:
token: ${{ secrets.REPO_ACCESS_TOKEN }}
repository: paritytech/substrate-playground
event-type: template-updated
client-payload: '{"id": "node-template"}'