Skip to content

Commit 5b4b7bc

Browse files
authored
Create websync.yml
1 parent c6218f8 commit 5b4b7bc

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

.github/workflows/websync.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
# This is a basic workflow to help you get started with Actions
2+
3+
name: Web Sync Push
4+
5+
# Controls when the workflow will run
6+
on:
7+
# Triggers the workflow on push or pull request events but only for the "main" branch
8+
push:
9+
branches: [ "main" ]
10+
11+
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
12+
jobs:
13+
# This workflow contains a single job called "build"
14+
build:
15+
# The type of runner that the job will run on
16+
runs-on: ubuntu-latest
17+
18+
# Steps represent a sequence of tasks that will be executed as part of the job
19+
steps:
20+
- name: Repository Dispatch
21+
uses: peter-evans/repository-dispatch@v3
22+
with:
23+
token: ${{ secrets.WEB_PAT }}
24+
repository: ptero-eggs/egg-web-sync
25+
event-type: sync
26+
client-payload: '{"repo": "generic"}'

0 commit comments

Comments
 (0)