Merge pull request #26 from BioNGFF/feat/axis-slider #14
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
| on: | |
| push: | |
| branches: | |
| - main | |
| jobs: | |
| build-and-deploy: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Install pnpm | |
| uses: pnpm/action-setup@v4 | |
| with: | |
| version: 10 | |
| - name: Checkout 🛎️ | |
| uses: actions/checkout@v4 | |
| with: | |
| persist-credentials: false | |
| - name: Submodule init | |
| run: | | |
| git submodule init | |
| git submodule update | |
| - name: Install and Build 🔧 | |
| run: | | |
| pnpm install | |
| pnpm --filter viewer run build | |
| pnpm --filter app run build --base /biongff-viewer/ | |
| touch sites/app/dist/.nojekyll | |
| - name: Deploy 🚀 | |
| uses: JamesIves/github-pages-deploy-action@v4.7.2 | |
| with: | |
| TOKEN: ${{ secrets.GH_PAT }} | |
| BRANCH: gh-pages | |
| FOLDER: sites/app/dist |