Skip to content

ci: switch to new Jekyll GitHub action #41

ci: switch to new Jekyll GitHub action

ci: switch to new Jekyll GitHub action #41

Workflow file for this run

name: Build and deploy website to GitHub Pages
on:
push:
branches:
- master
workflow_dispatch:
jobs:
gh-pages:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
# Use GitHub Actions' cache to cache dependencies on servers
- uses: actions/cache@v4
with:
path: |
.asdf/**
vendor/bundle
key: ${{ runner.os }}-cache-${{ hashFiles('**/cache.key') }}
restore-keys: |
${{ runner.os }}-cache-
# Use GitHub Deploy Action to build and deploy to Github
# For latest version: `jeffreytse/jekyll-deploy-action@master`
- uses: jeffreytse/[email protected]
working-directory: ./site

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

View workflow run for this annotation

GitHub Actions / Build and deploy website to GitHub Pages

Invalid workflow file

The workflow is not valid. .github/workflows/gh-pages.yml (Line: 27, Col: 9): Unexpected value 'working-directory'
with:
token: ${{ secrets.GITHUB_TOKEN }} # It's your Personal Access Token(PAT)
branch: 'gh-pages' # Default is gh-pages for github provider
jekyll_src: './' # Default is root directory
jekyll_cfg: '_config.yml' # Default is _config.yml
cname: 'www.mignololab.org' # Default is to not use a cname