Skip to content

ELB: add alternative URL structure (#1603) #1295

ELB: add alternative URL structure (#1603)

ELB: add alternative URL structure (#1603) #1295

Workflow file for this run

# adapted from https://github.com/peaceiris/actions-gh-pages
name: github pages
on:
push:
branches:
- main
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
fetch-depth: 0
- name: Setup Hugo
uses: peaceiris/actions-hugo@v3
with:
hugo-version: '0.125.6'
extended: true
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: '20'
- run: npm ci
- run: hugo --gc --minify
- name: Deploy
uses: peaceiris/actions-gh-pages@v4
if: github.ref == 'refs/heads/main'
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./public
cname: docs.localstack.cloud