Skip to content

Merge branch 'main' of github.com:Engineering-Projects-Society/engine… #9

Merge branch 'main' of github.com:Engineering-Projects-Society/engine…

Merge branch 'main' of github.com:Engineering-Projects-Society/engine… #9

Workflow file for this run

name: hugo-deploy
on:
push:
branches:
- main
pull_request:
jobs:
deploy:
runs-on: ubuntu-20.04
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
steps:
- name: Git checkout
uses: actions/checkout@v3
with:
submodules: true
fetch-depth: 0
- name: Update theme
run: git submodule update --init --recursive
- name: Setup Hugo
uses: peaceiris/actions-hugo@v2
with:
hugo-version: '0.96.0'
extended: true
- name: Build
run: hugo --minify
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
personal_token: ${{ secrets.REPO_ACCESS_TOKEN }}
external_repository: Engineering-Projects-Society/engineering-projects-society.github.io
publish_dir: ./public
# keep_files: true
user_name: RedNicStone
user_email: nic@struktur.de
publish_branch: gh-pages
# cname: example.com