mirror of https://github.com/axmolengine/axmol.git
24 lines
543 B
YAML
24 lines
543 B
YAML
name: forward-push
|
|
|
|
# Controls when the action will run. Triggers the workflow on push or pull request
|
|
# events but only for the master branch
|
|
on:
|
|
push:
|
|
branches:
|
|
- dev
|
|
|
|
jobs:
|
|
build-site:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
with:
|
|
fetch-depth: 0
|
|
|
|
- name: Repository Dispatch
|
|
uses: peter-evans/repository-dispatch@v2
|
|
with:
|
|
token: ${{ secrets.AX_TRIGGER_SITE_TOKEN }}
|
|
repository: axmolengine/axmolengine.github.io
|
|
event-type: forward-push
|