sovereign-intelligence
Front door to Drake Stapleton's sovereign stack.
Brought by drakestapleton
sovereign-intelligence / docs / archive / drakestapleton.com-old / .github / workflows / pages.yml
| 1 | name: pages |
| 2 | on: |
| 3 | push: |
| 4 | branches: [main] |
| 5 | permissions: |
| 6 | contents: read |
| 7 | pages: write |
| 8 | id-token: write |
| 9 | concurrency: |
| 10 | group: pages |
| 11 | cancel-in-progress: true |
| 12 | jobs: |
| 13 | deploy: |
| 14 | environment: |
| 15 | name: github-pages |
| 16 | url: ${{ steps.deployment.outputs.page_url }} |
| 17 | runs-on: ubuntu-latest |
| 18 | steps: |
| 19 | - uses: actions/checkout@v4 |
| 20 | - uses: actions/setup-node@v4 |
| 21 | with: |
| 22 | node-version: 22 |
| 23 | cache: npm |
| 24 | - run: npm ci |
| 25 | - run: npm run build:portfolio |
| 26 | - run: cargo run --release --manifest-path crates/site-builder/Cargo.toml -- dist |
| 27 | - uses: actions/configure-pages@v5 |
| 28 | - uses: actions/upload-pages-artifact@v3 |
| 29 | with: |
| 30 | path: dist |
| 31 | - id: deployment |
| 32 | uses: actions/deploy-pages@v4 |