Skip to content

Commit 626524b

Browse files
authored
Merge pull request #227 from ControlCore-Project/dev
Merge dev to main
2 parents 0b787f1 + 55f77a9 commit 626524b

File tree

1 file changed

+11
-4
lines changed

1 file changed

+11
-4
lines changed
Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
name: Build and Deploy
22

33
on: workflow_dispatch
4+
45
jobs:
56
build-and-deploy:
67
runs-on: ubuntu-latest
@@ -9,18 +10,24 @@ jobs:
910
node-version: [18.x]
1011
steps:
1112
- name: Checkout 🛎️
12-
uses: actions/checkout@v2.3.1
13+
uses: actions/checkout@v4
14+
1315
- name: Use Node.js ${{ matrix.node-version }}
1416
uses: actions/setup-node@v3
1517
with:
1618
node-version: ${{ matrix.node-version }}
19+
20+
- name: Clear npm cache
21+
run: npm cache clean --force
22+
1723
- name: Install and Build 🔧
1824
run: |
25+
export NODE_OPTIONS=--openssl-legacy-provider
1926
npm ci
2027
npm run build
2128
2229
- name: Deploy 🚀
23-
uses: JamesIves/github-pages-deploy-action@4.1.3
30+
uses: JamesIves/github-pages-deploy-action@v4
2431
with:
25-
branch: gh-pages # The branch the action should deploy to.
26-
folder: build # The folder the action should deploy.
32+
branch: gh-pages
33+
folder: build

0 commit comments

Comments
 (0)