From 56056e5a92f62bf74b237cb4704e0263080db791 Mon Sep 17 00:00:00 2001 From: kekskurse Date: Wed, 19 Jul 2023 14:46:35 +0200 Subject: [PATCH] pipeline --- .forgejo/workflows/deplo.yml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 .forgejo/workflows/deplo.yml diff --git a/.forgejo/workflows/deplo.yml b/.forgejo/workflows/deplo.yml new file mode 100644 index 0000000..569a881 --- /dev/null +++ b/.forgejo/workflows/deplo.yml @@ -0,0 +1,27 @@ +name: GitHub Pages + +on: + push: + branches: + - main # Set a branch to deploy + pull_request: + +jobs: + deploy: + runs-on: docker + concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + steps: + - uses: actions/checkout@v3 + 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: '0.112.0' + # extended: true + + - name: Build + run: hugo --minify \ No newline at end of file