Skip to content

Create websync.yml

Create websync.yml #1

Workflow file for this run

# This is a basic workflow to help you get started with Actions
name: Web Sync Push
# Controls when the workflow will run
on:
# Triggers the workflow on push or pull request events but only for the "main" branch
push:
branches: [ "main" ]
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# This workflow contains a single job called "build"
build:
# The type of runner that the job will run on
runs-on: ubuntu-latest
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
- name: Repository Dispatch
uses: peter-evans/repository-dispatch@v3
with:
token: ${{ secrets.WEB_PAT }}
repository: ptero-eggs/egg-web-sync
event-type: sync
client-payload: '{"repo": "generic"}'