23 lines
554 B
YAML
23 lines
554 B
YAML
name: Repository Dispatch
|
|
on:
|
|
repository_dispatch:
|
|
types: [node-mcData-release]
|
|
jobs:
|
|
myEvent:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
with:
|
|
fetch-depth: 0
|
|
ref: web
|
|
- name: Use Node.js 22.x
|
|
uses: actions/setup-node@v1
|
|
with:
|
|
node-version: 22.x
|
|
- name: Run tool
|
|
run: |
|
|
npm install
|
|
git config user.name 'rom1504bot'
|
|
git config user.email 'rom1504bot@users.noreply.github.com'
|
|
npm run gh-publish
|