update docs workflow #2
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: 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 GitHub Actions / Push to GitHub Pages on push to mainInvalid workflow file
|
||
- 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 |