feat: update boxmux version to 0.177.31091 and correct GitHub links i… #7
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 Documentation | |
| on: | |
| push: | |
| branches: [ main ] | |
| paths: [ 'docs/**' ] | |
| workflow_dispatch: | |
| jobs: | |
| deploy: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Setup Node.js | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: '18' | |
| cache: 'npm' | |
| cache-dependency-path: 'docs/package-lock.json' | |
| - name: Install dependencies | |
| run: | | |
| cd docs | |
| npm install | |
| - name: Build site | |
| run: | | |
| cd docs | |
| npm run build | |
| - name: Verify build | |
| run: | | |
| ls -la docs/build/ | |
| test -f docs/build/index.html || exit 1 | |
| - name: Deploy to GitHub Pages | |
| uses: peaceiris/actions-gh-pages@v4 | |
| with: | |
| github_token: ${{ secrets.GITHUB_TOKEN }} | |
| publish_dir: docs/build | |
| cname: boxmux.com | |
| force_orphan: true | |
| enable_jekyll: false |