Skip to content

Commit

Permalink
Add GitHub pages
Browse files Browse the repository at this point in the history
Closes GH-2377.

Reviewed-by: Titus Wormer <tituswormer@gmail.com>
  • Loading branch information
remcohaszing authored Oct 21, 2023
1 parent 74aee56 commit ab3aa96
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/website.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
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: 20
- run: npm ci
- run: npm run docs
- uses: actions/upload-pages-artifact@v2
with:
path: public
- uses: actions/deploy-pages@v2
id: deployment

1 comment on commit ab3aa96

@vercel
Copy link

@vercel vercel bot commented on ab3aa96 Oct 21, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

mdx – ./

mdxjs.com
v2.mdxjs.com
mdx-mdx.vercel.app
mdx-git-main-mdx.vercel.app

Please sign in to comment.