Skip to content

Merge pull request #64 from 3-shake/feature/add-shirayama-profile #728

Merge pull request #64 from 3-shake/feature/add-shirayama-profile

Merge pull request #64 from 3-shake/feature/add-shirayama-profile #728

Workflow file for this run

name: Deploy Next.js app
on:
push:
branches: [main]
schedule:
- cron: '28 18 * * *' # 3:28 AM JST every day
workflow_dispatch:
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version-file: package.json
cache: yarn
- run: yarn
- run: yarn build
# env:
# URL_PREFIX: team-blog-hub
- run: yarn export
- name: Copy CNAME
run: cp CNAME out/CNAME
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: out