Skip to content

Commit cfd3e55

Browse files
authored
Bump pages workflow (#1210)
1 parent fbc745b commit cfd3e55

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

.github/workflows/gh-pages.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -45,17 +45,16 @@ jobs:
4545
- name: Checkout
4646
uses: actions/checkout@v4
4747
- name: Setup Pages
48-
uses: actions/configure-pages@v3
49-
48+
uses: actions/configure-pages@v5
5049
- name: Build website
5150
run: |
5251
npm install
5352
npm run build
5453
- name: Upload artifact
55-
uses: actions/upload-pages-artifact@v1
54+
uses: actions/upload-pages-artifact@v3
5655
with:
5756
# Upload built files
5857
path: './examples/demo-site/dist/'
5958
- name: Deploy to GitHub Pages
6059
id: deployment
61-
uses: actions/deploy-pages@v2
60+
uses: actions/deploy-pages@v4

docs/snippets/3_examples.snippet

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,6 @@ Want to jump straight in? Get started with one of our sample applications/templa
1515
| Next.js (client-side) | Sentiment analysis (in-browser inference) | [code](https://github.com/huggingface/transformers.js/tree/main/examples/next-client/), [demo](https://huggingface.co/spaces/Xenova/next-example-app) |
1616
| Next.js (server-side) | Sentiment analysis (Node.js inference) | [code](https://github.com/huggingface/transformers.js/tree/main/examples/next-server/), [demo](https://huggingface.co/spaces/Xenova/next-server-example-app) |
1717
| Node.js | Sentiment analysis API | [code](https://github.com/huggingface/transformers.js/tree/main/examples/node/) |
18-
| Demo site | A collection of demos | [code](https://github.com/huggingface/transformers.js/tree/main/examples/demo-site/), [demo](https://xenova.github.io/transformers.js/) |
18+
| Demo site | A collection of demos | [code](https://github.com/huggingface/transformers.js/tree/main/examples/demo-site/), [demo](https://huggingface.github.io/transformers.js/) |
1919

2020
Check out the Transformers.js [template](https://huggingface.co/new-space?template=static-templates%2Ftransformers.js) on Hugging Face to get started in one click!

0 commit comments

Comments
 (0)