Skip to content

chore(deps): update dependency zx to v8.2.3 #135

chore(deps): update dependency zx to v8.2.3

chore(deps): update dependency zx to v8.2.3 #135

Workflow file for this run

name: Deploy Tiddlywiki To Github Pages
on:
push:
branches:

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

View workflow run for this annotation

GitHub Actions / .github/workflows/gh-pages.yml

Invalid workflow file

You have an error in your yaml syntax on line 5
- main
- master
paths-ignore:
- 'README.md'
- 'files/**'
- 'public/**'
- 'scripts/**'
- '.vscode'
- '.idea'
- '.gitignore'
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
permissions:
contents: write
pages: write
id-token: write
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v2-beta
with:
node-version: '16'
- name: Cache dependencies
uses: actions/cache@v4
with:
path: |
**/node_modules
key: ${{ runner.os }}-${{ hashFiles('**/package.json') }}
- name: Install Dependency
run: npm install
- name: Build
run: npm run build
- name: Upload artifact
uses: actions/upload-pages-artifact@v1
with:
# Upload entire repository
path: ./public-dist
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v1