Fix crashes.hudcostreets.org link on demo section slide (MDC shortc…
#5
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 to safe26.hccs.dev GitHub Pages | |
| on: | |
| push: { branches: [main] } | |
| workflow_dispatch: | |
| jobs: | |
| ghp: | |
| name: Build/Deploy to GitHub Pages | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| # pnpm-workspace.yaml references `../../slidev/packages/*` (matches the | |
| # local layout where safe26 lives at `~/c/hccs/safe26` and the fork at | |
| # `~/c/slidev`). Clone the fork to the same relative path under the | |
| # runner work dir so the workspace resolves identically. | |
| - name: Clone slidev fork | |
| run: git clone --depth 1 https://github.com/Open-Athena/slidev.git ../../slidev | |
| - uses: pnpm/action-setup@v4 | |
| with: | |
| version: 10 | |
| - run: pnpm i --no-frozen-lockfile | |
| - run: pnpm build | |
| - uses: JamesIves/github-pages-deploy-action@v4 | |
| with: | |
| branch: gh-pages | |
| folder: dist |