Skip to content

fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! Add gi… #10

fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! Add gi…

fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! Add gi… #10

Workflow file for this run

name: Build and Deploy TopList
on:
push:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Check out the code
uses: actions/checkout@v4
- name: Set up Node.js
uses: actions/setup-node@v4
with:
check-latest: true
- name: Install dependencies
run: npm ci
- name: Build the project
run: npm run build
- name: List working directory contents
run: ls -la
- name: List build directory contents
run: ls -la ./dist # Adjust path if necessary
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./dist
permissions:

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

View workflow run for this annotation

GitHub Actions / Build and Deploy TopList

Invalid workflow file

The workflow is not valid. .github/workflows/deploy.yml (Line: 38, Col: 7): Unexpected value 'permissions'
contents: write # Apply permissions only to the deployment job