Skip to content

Commit

Permalink
Create websync.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
danny6167 authored Dec 16, 2024
1 parent c6218f8 commit 5b4b7bc
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/websync.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# 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"}'

0 comments on commit 5b4b7bc

Please sign in to comment.