Skip to content

Commit ab3aa96

Browse files
authoredOct 21, 2023
Add GitHub pages
Closes GH-2377. Reviewed-by: Titus Wormer <tituswormer@gmail.com>
1 parent 74aee56 commit ab3aa96

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed
 

‎.github/workflows/website.yml

+27
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: website
2+
on:
3+
push:
4+
branches:
5+
- main
6+
jobs:
7+
deploy:
8+
runs-on: ubuntu-latest
9+
permissions:
10+
contents: read
11+
pages: write
12+
id-token: write
13+
environment:
14+
name: Website
15+
url: ${{steps.deployment.outputs.page_url}}
16+
steps:
17+
- uses: actions/checkout@v4
18+
- uses: actions/setup-node@v3
19+
with:
20+
node-version: 20
21+
- run: npm ci
22+
- run: npm run docs
23+
- uses: actions/upload-pages-artifact@v2
24+
with:
25+
path: public
26+
- uses: actions/deploy-pages@v2
27+
id: deployment

1 commit comments

Comments
 (1)

vercel[bot] commented on Oct 21, 2023

@vercel[bot]

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.