Skip to content

Documentation update #36

Documentation update

Documentation update #36

Workflow file for this run

name: Berlin UG Site Deployment
on:
push:
branches: [ master ]
jobs:
Build_and_Deploy:
runs-on: ubuntu-latest
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
steps:
- uses: actions/checkout@v4
with:
submodules: true # Fetch Hugo themes (true OR recursive)
fetch-depth: 0 # Fetch all history for .GitInfo and .Lastmod
- name: Setup Hugo
uses: peaceiris/actions-hugo@v2
with:
hugo-version: 'latest'
extended: true
- name: Configure AWS Credentials
uses: aws-actions/configure-aws-credentials@v1
with:
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
aws-region: eu-central-1
- name: Build
run: hugo --minify
# Deploys built website to S3
- name: Deploy to Site
run: hugo deploy --maxDeletes 0 --invalidateCDN