File tree Expand file tree Collapse file tree 2 files changed +16
-5
lines changed Expand file tree Collapse file tree 2 files changed +16
-5
lines changed Original file line number Diff line number Diff line change 9
9
name : Deploy
10
10
runs-on : ubuntu-latest
11
11
12
+ permissions :
13
+ pages : write
14
+ id-token : write
15
+
16
+ # Deploy to the github-pages environment
17
+ environment :
18
+ name : github-pages
19
+ url : ${{ steps.deployment.outputs.page_url }}
20
+
12
21
steps :
13
22
- uses : actions/checkout@v2
14
23
- name : Use Node.js 12
17
26
node-version : 12
18
27
- run : npm ci
19
28
- run : npm run build
20
- - uses : peaceiris/actions-gh-pages@v3
29
+ - name : Create gh-pages artifact
30
+ uses : actions/upload-pages-artifact@v1
21
31
with :
22
- github_token : ${{ secrets.GITHUB_TOKEN }}
23
- publish_dir : build
24
- publish_branch : master
32
+ path : build
33
+ - name : Deploy to GitHub Pages
34
+ id : deployment
35
+ uses : actions/deploy-pages@v1
Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ const features: Feature[] = [
26
26
< >
27
27
Static types can ease the mental burden of writing programs, by automatically tracking information the
28
28
programmer would otherwise have to track mentally in some fashion. Types serve as documentation for
29
- yourself and other programmers and provide a ‘gradient’ that tells you what terms make sense to write.
29
+ yourself and other programmers and provide a check that tells you what terms make sense to write.
30
30
</ >
31
31
) ,
32
32
} ,
You can’t perform that action at this time.
0 commit comments