Skip to content

Commit 8ebccd7

Browse files
authored
Update static.yml
1 parent 2b86d57 commit 8ebccd7

File tree

1 file changed

+0
-33
lines changed

1 file changed

+0
-33
lines changed

.github/workflows/static.yml

Lines changed: 0 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -1,39 +1,6 @@
11
# .github/workflows/static.yml
22
name: Deploy to GitHub Pages
33

4-
on:
5-
push:
6-
branches: [main]
7-
workflow_dispatch:
8-
9-
permissions:
10-
contents: write
11-
12-
jobs:
13-
build_and_deploy:
14-
runs-on: ubuntu-latest
15-
steps:
16-
- name: Checkout repo
17-
uses: actions/checkout@v4
18-
19-
- name: Setup Node.js
20-
uses: actions/setup-node@v4
21-
with:
22-
node-version: 20
23-
24-
- name: Run build script
25-
run: |
26-
chmod +x Build/Buildscripts/build.sh
27-
./Build/Buildscripts/build.sh
28-
29-
- name: Deploy to GitHub Pages
30-
uses: JamesIves/github-pages-deploy-action@v4
31-
with:
32-
branch: gh-pages
33-
folder: Build/dist
34-
# .github/workflows/static.yml
35-
name: Deploy to GitHub Pages
36-
374
on:
385
push:
396
branches: [main]

0 commit comments

Comments
 (0)