feat: change deployment to pixi, added news article #17
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: Test deployment | |
| on: | |
| pull_request: | |
| branches: [main] | |
| jobs: | |
| generate-page: | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: read | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - uses: prefix-dev/setup-pixi@v0 | |
| with: | |
| cache: true | |
| - name: Generate page | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| run: pixi run generate-page | |
| - name: Upload page data | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: generated-data | |
| path: static/data/*.json | |
| - name: Upload workflow data | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: generated-workflows | |
| path: docs/workflows/all_workflows/*.md | |
| test-deploy: | |
| name: Test deployment | |
| runs-on: ubuntu-latest | |
| needs: generate-page | |
| steps: | |
| - uses: actions/checkout@v6 | |
| with: | |
| fetch-depth: 0 | |
| - name: Download generated data | |
| uses: actions/download-artifact@v4 | |
| with: | |
| name: generated-data | |
| path: static/data/ | |
| - name: Download generated workflows | |
| uses: actions/download-artifact@v4 | |
| with: | |
| name: generated-workflows | |
| path: docs/workflows/all_workflows/ | |
| - uses: actions/setup-node@v6 | |
| with: | |
| node-version: 18 | |
| cache: npm | |
| - name: Install dependencies | |
| run: npm ci | |
| - name: Test build website | |
| run: npm run build |