Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 15 additions & 5 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,15 @@ jobs:
name: Deploy
runs-on: ubuntu-latest

permissions:
pages: write
id-token: write

# Deploy to the github-pages environment
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}

steps:
- uses: actions/checkout@v2
- name: Use Node.js 12
Expand All @@ -17,8 +26,9 @@ jobs:
node-version: 12
- run: npm ci
- run: npm run build
- uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: build
publish_branch: master
- name: Create gh-pages artifact
uses: actions/upload-pages-artifact@v1
path: build
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v1
2 changes: 1 addition & 1 deletion src/pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ const features: Feature[] = [
<>
Static types can ease the mental burden of writing programs, by automatically tracking information the
programmer would otherwise have to track mentally in some fashion. Types serve as documentation for
yourself and other programmers and provide a ‘gradient’ that tells you what terms make sense to write.
yourself and other programmers and provide a check that tells you what terms make sense to write.
</>
),
},
Expand Down