Skip to content

worflow for docs

worflow for docs #1

Workflow file for this run

name: Push to GitHub Pages on push to main
on:
push:
branches:
- main
- hugo-docs
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
deploy:
steps:
- name: Deploy the site
working-directory: docs-website
uses: benmatselby/hugo-deploy-gh-pages@main

Check failure on line 18 in .github/workflows/docs.yml

View workflow run for this annotation

GitHub Actions / Push to GitHub Pages on push to main

Invalid workflow file

The workflow is not valid. .github/workflows/docs.yml (Line: 18, Col: 9): Unexpected value 'uses' .github/workflows/docs.yml (Line: 22, Col: 26): Unrecognized named-value: 'var'. Located at position 1 within expression: var.GITHUB_BASE_REF
env:
HUGO_VERSION: 0.118.2
TARGET_REPO: issif/falco-talon
TARGET_BRANCH: ${{ var.GITHUB_BASE_REF }}
TOKEN: ${{ secrets.TOKEN }}
HUGO_ARGS: '-gc --minify'
CNAME: benmatselby.github.io