We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cb6c07f commit 9b75eb0Copy full SHA for 9b75eb0
.github/workflows/deploy-beta.yml
@@ -0,0 +1,32 @@
1
+name: Deploy BETA to GitHub Pages
2
+
3
+on:
4
+ push:
5
+ branches:
6
+ - beta
7
8
+jobs:
9
+ build-and-deploy:
10
+ runs-on: ubuntu-latest
11
12
+ steps:
13
+ - name: Checkout repository
14
+ uses: actions/checkout@v4
15
16
+ - name: Set up Node.js
17
+ uses: actions/setup-node@v4
18
+ with:
19
+ node-version: "20.11.1"
20
21
+ - name: Install dependencies
22
+ run: npm install
23
24
+ - name: Build the project
25
+ run: npm run build
26
27
+ - name: Deploy with gh-pages (to /beta folder)
28
+ run: |
29
+ git remote set-url origin https://git:${GITHUB_TOKEN}@github.com/${GITHUB_REPOSITORY}.git
30
+ npm run deploy -- --dest beta -u "github-actions-bot <[email protected]>"
31
+ env:
32
+ GITHUB_TOKEN: ${{ secrets.ACTIONS_DEPLOY_KEY }}
0 commit comments