Some checks failed
Deploy Hugo / deploy (push) Failing after 16s
Setup GiteaAction to deploy website.
32 lines
631 B
YAML
32 lines
631 B
YAML
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 }}
|