We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0e88738 commit d87fd5eCopy full SHA for d87fd5e
1 file changed
.github/workflows/build.yml
@@ -0,0 +1,33 @@
1
+name: Build Plugins
2
+
3
+on:
4
+ push:
5
+ branches:
6
+ - master
7
+ workflow_dispatch:
8
9
+jobs:
10
+ build:
11
+ runs-on: ubuntu-latest
12
+ steps:
13
+ - name: Checkout
14
+ uses: actions/checkout@v3
15
16
+ - name: Setup Node.js
17
+ uses: actions/setup-node@v3
18
+ with:
19
+ node-version: 18
20
21
+ - name: Install dependencies
22
+ run: npm install
23
24
+ - name: Build plugins
25
+ run: npm run build
26
27
+ - name: Deploy to plugins branch
28
+ uses: peaceiris/actions-gh-pages@v3
29
30
+ github_token: ${{ secrets.GITHUB_TOKEN }}
31
+ publish_branch: plugins
32
+ publish_dir: ./.dist
33
+ destination_dir: v3.0.0/.dist
0 commit comments