Skip to content

Update index.md

Update index.md #149

Workflow file for this run

name: site-deploy
on:
push:
branches: [ main ]
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Build site
run: |
HUGO_VERSION="$(head -n 1 HUGO_VERSION|tr '\n' ' '|sed 's/\s//g')"
rm -rf public/*
docker run -i -v "$(pwd):/src" floryn90/hugo:${HUGO_VERSION}-ext-alpine-ci
- name: Upload pages artifact
uses: actions/upload-pages-artifact@v3
with: { path: ./public }
deploy:
needs: build
permissions:
pages: write
id-token: write
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4