forked from TurboWarp/scratch-vm
-
Notifications
You must be signed in to change notification settings - Fork 69
55 lines (50 loc) · 1.29 KB
/
nodejs.yml
File metadata and controls
55 lines (50 loc) · 1.29 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
name: Remote Dispatch Action Initiator
#test
on:
push:
branches: ["develop"]
permissions:
contents: read
pages: write
id-token: write
concurrency:
group: "pages"
jobs:
ping-pong:
runs-on: ubuntu-latest
steps:
- name: Repository Dispatch
uses: peter-evans/repository-dispatch@v2.0.1
with:
token: ${{ secrets.t }}
event-type: update
repository: PenguinMod/penguinmod.github.io
- name: Repository Dispatch2
uses: peter-evans/repository-dispatch@v2.0.1
with:
token: ${{ secrets.t }}
event-type: update
repository: PenguinMod/PenguinMod-Packager
- uses: actions/setup-node@v3
with:
node-version: 16
- name: Checkout
uses: actions/checkout@v3
- name: Make docs
run: |
npm install
npm run build
npm run docs
- name: Upload built-media
uses: actions/upload-artifact@v4
with:
name: built-media
path: media
- name: Setup Pages
uses: actions/configure-pages@v5
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: './playground'
- name: Deploy to GitHub Pages
uses: actions/deploy-pages@v4