-
Notifications
You must be signed in to change notification settings - Fork 0
35 lines (35 loc) · 923 Bytes
/
work.yml
File metadata and controls
35 lines (35 loc) · 923 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
on:
push:
workflow_dispatch:
pull_request:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: setup node
uses: actions/setup-node@v2
with:
node-version: '16'
- name: Install dependencies
run: npm install typescript
- name: compile
run: npx tsc
- name: build with Jekyll
uses: actions/jekyll-build-pages@v1
- name: upload artifacts
uses: actions/upload-pages-artifact@v3
with:
name: github-pages
path: ./_site
deploy:
runs-on: ubuntu-latest
needs: build
steps:
- uses: actions/deploy-pages@v4
with:
token: ${{ secrets.GITHUB_TOKEN }}
permissions:
contents: read
pages: write
id-token: write