Skip to content

added banner to static (#57) #28

added banner to static (#57)

added banner to static (#57) #28

Workflow file for this run

name: Deploy Hugo Website to GitHub Pages
on:
push:
branches:
- main
jobs:
build-deploy:
runs-on: ubuntu-latest
steps:
# 1. Check out the repository
- name: Checkout Repository
uses: actions/checkout@v3
# 2. Set up Hugo
- name: Setup Hugo
uses: peaceiris/actions-hugo@v2
with:
hugo-version: 'latest'
# 3. Build the Hugo website
- name: Build Hugo Website
run: |
cd website
hugo -d public # Builds the site into `website/public`
# 4. Deploy to GitHub Pages
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: website/public