Devendra174's picture
Upload folder using huggingface_hub
1e92f2d verified
name: Build and Deploy to GitHub Pages
permissions:
contents: write
on:
push:
tags:
- "*"
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout ๐Ÿ›Ž๏ธ
uses: actions/checkout@v4
- name: Install and Build
run: |
yarn
make build-example
- name: Deploy ๐Ÿš€
uses: JamesIves/github-pages-deploy-action@v4
with:
branch: gh-pages # The branch the action should deploy to.
folder: examples # The folder the action should deploy.
target-folder: examples # The destination. Shouldn't touch other folders.