Skip to content

update docs workflow #2

update docs workflow

update docs workflow #2

Workflow file for this run

name: Push to GitHub Pages on push to main
on:
push:
branches:
- main
- hugo-docs
jobs:
build:
steps:
- name: Checkout code
uses: actions/checkout@v4
runs-on: ubuntu-latest

Check failure on line 13 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: 13, Col: 9): Unexpected value 'runs-on' .github/workflows/docs.yml (Line: 16, Col: 9): Unexpected value 'uses'
- name: Deploy the site
working-directory: docs-website
uses: benmatselby/hugo-deploy-gh-pages@main
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: issif.github.io