We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4fde806 commit 534b3eaCopy full SHA for 534b3ea
1 file changed
.github/workflows/deploy.yml
@@ -0,0 +1,32 @@
1
+name: Deploy Emerald UI
2
+
3
+on:
4
+ push:
5
+ branches: [ main ]
6
+ workflow_dispatch:
7
8
+jobs:
9
+ deploy:
10
+ runs-on: ubuntu-latest
11
12
+ steps:
13
+ - name: Checkout code
14
+ uses: actions/checkout@v3
15
16
+ - name: Setup Node.js
17
+ uses: actions/setup-node@v3
18
+ with:
19
+ node-version: 18
20
+ cache: 'npm'
21
22
+ - name: Install dependencies
23
+ run: npm ci
24
25
+ - name: Deploy to GitHub Pages
26
+ run: |
27
+ git config --global user.name ${{ github.actor }}
28
+ git config --global user.email ${{ github.actor }}@users.noreply.github.com
29
+ npm run deploy
30
+ env:
31
+ # This is needed if your deploy script uses gh-pages
32
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
0 commit comments