Merge pull request #89 from zhongkaifu/feature/add_new_model_config #7
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Deploy Wiki to GitHub Pages | |
| # Publishes the static wiki in website/ to GitHub Pages. | |
| # Setup (one time): repo Settings -> Pages -> Build and deployment -> Source = "GitHub Actions". | |
| # After that, every push to main that touches website/ redeploys automatically; | |
| # you can also run it on demand from the Actions tab (workflow_dispatch). | |
| on: | |
| push: | |
| branches: [main] | |
| paths: | |
| - 'website/**' | |
| - '.github/workflows/deploy-pages.yml' | |
| workflow_dispatch: | |
| # Least-privilege token scopes required by the Pages deploy actions. | |
| permissions: | |
| contents: read | |
| pages: write | |
| id-token: write | |
| # Allow one concurrent deployment; don't cancel an in-progress one. | |
| concurrency: | |
| group: pages | |
| cancel-in-progress: false | |
| jobs: | |
| deploy: | |
| runs-on: ubuntu-latest | |
| environment: | |
| name: github-pages | |
| url: ${{ steps.deployment.outputs.page_url }} | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v5 | |
| - name: Configure Pages | |
| uses: actions/configure-pages@v6 | |
| - name: Upload website/ as the Pages artifact | |
| uses: actions/upload-pages-artifact@v5 | |
| with: | |
| path: website | |
| - name: Deploy to GitHub Pages | |
| id: deployment | |
| uses: actions/deploy-pages@v5 |