fix: improve layout for small devices #4
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: '🚀 CD (Website) — Publish' | |
| on: | |
| push: | |
| branches: | |
| - 'main' | |
| workflow_dispatch: | |
| jobs: | |
| deploy: | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 15 | |
| name: Deploy | |
| steps: | |
| - name: Actions - Checkout | |
| uses: actions/checkout@v6 | |
| - name: Actions - Setup Node.js | |
| uses: actions/setup-node@v6 | |
| with: | |
| check-latest: true | |
| node-version: lts/* | |
| - name: Cache Dependencies | |
| uses: actions/cache@v5 | |
| with: | |
| path: ~/.npm | |
| key: npm-${{ hashFiles('package-lock.json') }} | |
| restore-keys: npm- | |
| - name: Installing Dependencies | |
| run: npm ci | |
| - name: Checking Types | |
| run: npm run typecheck | |
| - name: Checking Lint | |
| run: npm run lint | |
| - name: Building Site | |
| run: npm run build | |
| - name: Deploy | |
| uses: peaceiris/actions-gh-pages@v4 | |
| with: | |
| github_token: ${{ secrets.PAT }} | |
| publish_dir: ./build | |
| cname: jsconfbr.weslley.io | |
| allow_empty_commit: true |