Skip to content

Commit

Permalink
Replace Vercel with GitHub pages
Browse files Browse the repository at this point in the history
This requires additional changes in the repository GitHub Pages
settings. _Source_ needs to be set to _GitHub Actions_, and a custom
domain needs to be configured.

This doesn’t support redirects.
  • Loading branch information
remcohaszing committed Oct 20, 2023
1 parent fdfe17b commit d60f8d4
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 179 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/website.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: website
on:
push:
branches: [main]
jobs:
deploy:
runs-on: ubuntu-latest
permissions:
contents: read
pages: write
id-token: write
environment:
name: Website
url: ${{ steps.deployment.outputs.page_url }}
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
with: {node-version: 18}
- run: npm ci
- run: npm run docs
- uses: actions/upload-pages-artifact@v2
with:
path: public
- uses: actions/deploy-pages@v2
id: deployment
1 change: 0 additions & 1 deletion .vercelignore

This file was deleted.

178 changes: 0 additions & 178 deletions vercel.json

This file was deleted.

0 comments on commit d60f8d4

Please sign in to comment.