fix: Remove trailing slash #4
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: Deploy GitHub Pages | |
on: | |
workflow_dispatch: | |
inputs: | |
clean_deploy: | |
description: 'Clean deployment (removes all existing files)' | |
type: boolean | |
default: false | |
required: false | |
push: | |
paths: | |
- 'gh-pages/**' | |
branches: | |
- main | |
jobs: | |
deploy: | |
name: Deploy to GitHub Pages | |
runs-on: ubuntu-latest | |
permissions: | |
contents: write | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Setup Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: '20' | |
- name: Deploy to GitHub Pages | |
uses: JamesIves/github-pages-deploy-action@v4.6.9 | |
with: | |
token: ${{ secrets.DEPLOY_TOKEN }} | |
branch: gh-pages | |
folder: gh-pages | |
clean: ${{ inputs.clean_deploy }} | |
clean-exclude: | | |
stg/** | |
visualization/** |