Add GitaActions
Some checks failed
Deploy Hugo / deploy (push) Failing after 1m2s

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

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

@ -0,0 +1,33 @@
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 --e development
- name: Deploy
uses: AnimMouse/setup-rclone@v1
with:
rclone_config: ${{ secrets.RCLONE_CONFIG }}
- run: rclone copy public/ remote:staging