fix: chunk-cleanup only on build #455
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 | |
| on: | |
| push: | |
| branches: | |
| - main | |
| jobs: | |
| check: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v7 | |
| - uses: jdx/mise-action@v4 | |
| - run: node ./scripts/login.mts | |
| env: | |
| INNOAI_TECH_REGISTRY_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| - run: just ts::dep | |
| - run: just ci | |
| release: | |
| needs: check | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v7 | |
| - uses: jdx/mise-action@v4 | |
| - run: node ./scripts/login.mts | |
| env: | |
| INNOAI_TECH_REGISTRY_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| - run: just ts::dep | |
| - run: just build | |
| - run: just pub | |
| - run: just webapp::build-all | |
| - run: just webapp::setup-e2e | |
| - run: just webapp::test-e2e | |
| - uses: JamesIves/github-pages-deploy-action@v4.9.0 | |
| with: | |
| folder: public/openapi-playground | |
| repository-name: innoai-tech/openapi-playground | |
| branch: main | |
| ssh-key: ${{ secrets.OPENAPI_PLAYGROUND_DEPLOY_KEY }} | |
| clean: true | |
| - uses: JamesIves/github-pages-deploy-action@v4.9.0 | |
| with: | |
| folder: public/vuekit | |
| branch: gh-pages | |
| clean: true |