diff --git a/.github/workflows/blank.yml b/.github/workflows/blank.yml new file mode 100644 index 0000000..0c13fe7 --- /dev/null +++ b/.github/workflows/blank.yml @@ -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": "game"}'