Add GitaActions
Some checks failed
Deploy Hugo / deploy (push) Failing after 16s

Setup GiteaAction to deploy website.
This commit is contained in:
Jens M. Sauer 2024-06-17 12:11:11 +02:00
parent b694bed505
commit 75610e1495

31
.gitea/workflows/dev.yml Normal file
View File

@ -0,0 +1,31 @@
name: Deploy Hugo
on:
push:
branches:
- dev
jobs:
deploy:
runs-on: ubuntu-22.04
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
steps:
- uses: actions/checkout@v4
with:
submodules: true
fetch-depth: 0
- name: Setup Hugo
uses: peaceiris/actions-hugo@v3
with:
hugo-version: '0.120.4'
extended: true
- name: Build
run: hugo --minify --environment development
- name: Setup Rclone
uses: AnimMouse/setup-rclone@v1
with:
rclone_config: ${{ secrets.RCLONE_CONFIG }}