Skip to content

Commit bc1d316

Browse files
committed
feat: changing runner to ubuntu-latest
1 parent 9565244 commit bc1d316

File tree

2 files changed

+39
-20
lines changed

2 files changed

+39
-20
lines changed

.github/workflows/deploy copy.yml

-20
This file was deleted.

.github/workflows/deploy.yml

+39
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
name: Deploy to GitHub Pages
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
# Review gh actions docs if you want to further define triggers, paths, etc
8+
# https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#on
9+
10+
permissions:
11+
contents: read
12+
pages: write
13+
id-token: write
14+
15+
jobs:
16+
deploy:
17+
name: Deploy to GitHub Pages
18+
runs-on: ubuntu-latest
19+
environment:
20+
name: github-pages
21+
steps:
22+
- uses: actions/checkout@v4
23+
- uses: actions/setup-node@v4
24+
with:
25+
node-version: 20
26+
cache: npm
27+
28+
- name: Install dependencies
29+
run: npm ci
30+
- name: Build website
31+
run: npm run build
32+
33+
- name: Set build folder as artifact
34+
uses: actions/upload-pages-artifact@v3
35+
with:
36+
name: github-pages
37+
path: ./build
38+
39+
- uses: actions/deploy-pages@v4

0 commit comments

Comments
 (0)