chore(deps): bump next from 12.3.4 to 13.5.1 #21
Workflow file for this run
This file contains 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: 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 GitHub Actions / Build and DeployInvalid workflow 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 |