We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 13026a1 commit d3bc825Copy full SHA for d3bc825
1 file changed
.github/workflows/deploy.yml
@@ -0,0 +1,41 @@
1
+name: GS Editor Deployment
2
+
3
+on:
4
+ push:
5
+ branches:
6
+ - main
7
+ workflow_dispatch:
8
9
+jobs:
10
+ deploy:
11
+ runs-on: ubuntu-latest
12
+ steps:
13
+ - name: Checkout
14
+ uses: actions/checkout@v2
15
+ with:
16
+ ref: build
17
18
+ - name: Setup Node.js
19
+ uses: actions/setup-node@v2
20
21
+ node-version: '18'
22
23
+ - name: Install Dependencies
24
+ run: npm install
25
26
+ - name: Build Project
27
+ run: npm run build
28
29
+ - name: Copy Build Files
30
+ run: |
31
+ cp -r dist/* .
32
+ rm -rf dist
33
34
+ - name: Commit and Push Changes
35
36
+ git config user.name "GitHub Actions"
37
+ git config user.email "attachment.aditya@gmail.com"
38
+ git add .
39
+ git commit -m "Deploy GS Editor"
40
+ git push origin build
41
0 commit comments