Skip to content

fix apostrophe error #83

fix apostrophe error

fix apostrophe error #83

Workflow file for this run

name: Deploy to GitHub Pages
on:
push:
branches:
- main
jobs:
deploy:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v2
- name: Setup Node.js
uses: actions/setup-node@v2
with:
node-version: '18'
- name: List directories for debugging
run: |
echo "Current directory:"
pwd
echo "Directory contents:"
ls -la
- name: Install Dependencies
working-directory: ./portfolio
run: npm install
- name: Build
working-directory: ./portfolio
env:
NEXT_PUBLIC_BASE_PATH: '' # For username.github.io repos, this should be empty
run: npm run build
- name: Add .nojekyll file
working-directory: ./portfolio
run: touch out/.nojekyll
- name: Deploy to GitHub Pages
uses: JamesIves/github-pages-deploy-action@v4
with:
branch: gh-pages
folder: portfolio/out
token: ${{ secrets.PERSONAL_TOKEN }}