Download react-grid-layout/.github/workflows/gh-pages.yml from Devendra174/react-code-dataset: direct link, hf CLI and curl.
- Browser
- Download file 639 Bytes
-
https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/react-grid-layout/.github/workflows/gh-pages.yml
- Command line
-
hf download hf://datasets/Devendra174/react-code-dataset/react-grid-layout/.github/workflows/gh-pages.yml
-
curl -L -o gh-pages.yml https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/react-grid-layout/.github/workflows/gh-pages.yml
639 Bytes
| 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. | |