Skip to content

Commit

Permalink
worflow for docs
Browse files Browse the repository at this point in the history
Signed-off-by: Thomas Labarussias <[email protected]>
  • Loading branch information
Issif committed Feb 1, 2024
1 parent a4b18c7 commit 51a771f
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
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
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

0 comments on commit 51a771f

Please sign in to comment.