Skip to content

chore(deps): bump next from 12.3.4 to 13.5.1 #21

chore(deps): bump next from 12.3.4 to 13.5.1

chore(deps): bump next from 12.3.4 to 13.5.1 #21

Workflow file for this run

name: Build and Deploy
on:
pull_request:
types: [closed]
jobs:
deploy:
runs-on: ubuntu-20.04
if: github.event.pull_request.merged == true
steps:
- uses: actions/checkout@v3
- name: Setup for github actions
run: |
sed -i -e "2i basePath: '/kokoichi-portfolio',\n" next.config.js
- name: Use Node.js
uses: actions/setup-node@v3
with:

Check failure on line 18 in .github/workflows/deploy.yml

View workflow run for this annotation

GitHub Actions / Build and Deploy

Invalid workflow file

The workflow is not valid. .github/workflows/deploy.yml (Line: 18, Col: 14): Unexpected value '' .github/workflows/deploy.yml (Line: 19, Col: 9): Unexpected value 'node-version-file'
node-version-file: ./.node-version
- name: Install dependencies
run: npm install
- name: Build and export as a static file
run: npm run export
# Update gh-pages
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./out