Skip to content

Added github pages build #1

Added github pages build

Added github pages build #1

Workflow file for this run

name: Deploy to GitHub Pages
on:
push:
branches:
- main
workflow_dispatch:
branches: [ main ]
jobs:
deploy:
name: Deploy to GitHub Pages
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
- name: Install dependencies
working-directory: ./website
run: npm install
- name: Build website
working-directory: ./website
run: npm run build
- name: Deploy to GitHub Pages
working-directory: ./website
uses: peaceiris/actions-gh-pages@v4

Check failure on line 28 in .github/workflows/gh-pages.yml

View workflow run for this annotation

GitHub Actions / Deploy to GitHub Pages

Invalid workflow file

The workflow is not valid. .github/workflows/gh-pages.yml (Line: 28, Col: 9): Unexpected value 'uses' .github/workflows/gh-pages.yml (Line: 29, Col: 9): Unexpected value 'with'
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./build
cname: chargebot.io