Skip to content

Created basic landing page #1

Created basic landing page

Created basic landing page #1

Workflow file for this run

name: Deploy Hugo site to GitHub Pages
on:
push:
branches:
- master
permissions:
contents: read
pages: write
id-token: write
concurrency:
group: pages
cancel-in-progress: true
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Install Hugo
run: |
wget -O ${{ runner.temp }}/hugo.deb https://github.com/gohugoio/hugo/releases/download/v0.135.0/hugo_extended_0.135.0_linux-amd64.deb
sudo dpkg -i ${{ runner.temp }}/hugo.deb
- uses: actions/checkout@v4
with:
submodules: recursive
fetch-depth: 0
- uses: actions/configure-pages@v5
id: pages
- name: Build
working-directory: "./"
env:
HUGO_CACHEDIR: ${{ runner.temp }}/hugo_cache
HUGO_ENVIRONMENT: production
run: |
hugo --gc --minify --baseURL "${{ steps.pages.outputs.base_url }}"
- uses: actions/upload-pages-artifact@v3
with:
name: github-pages
path: ./docs/public/
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
needs: build
steps:
- uses: actions/deploy-pages@v4
id: deployment