Skip to content

adapt changes to localstack docs structure and guidelines. #790 #4

adapt changes to localstack docs structure and guidelines. #790

adapt changes to localstack docs structure and guidelines. #790 #4

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@v2
with:
hugo-version: '0.101.0'
extended: true
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: '16'
- run: npm ci
- run: hugo --gc --minify
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
if: github.ref == 'refs/heads/main'
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./public
cname: docs.localstack.cloud