Skip to content

Fix display on wider screens #16

Fix display on wider screens

Fix display on wider screens #16

Workflow file for this run

name: Deploy to GitHub Pages
on:
push:
branches: [main]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup Node
uses: actions/setup-node@v2
with:
node-version: "20.2"
- name: Cache dependencies
uses: actions/cache@v2
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
- name: Install dependencies
run: npm install --force
- name: Build site
run: npm run build
- name: Copy CNAME
run: cp CNAME public/CNAME
- name: Copy favicon
run: cp src/images/favicon.ico public/favicon.ico
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
deploy_key: ${{ secrets.ACTIONS_DEPLOY_KEY }}
publish_dir: ./public
publish_branch: publish