website/.gitea/workflows/build.yaml
Denys Konovalov 15c3067c65
Some checks failed
website / prod-build (push) Failing after 2s
.gitea/workflows/build.yaml hinzugefügt
2023-11-05 12:02:35 +01:00

24 lines
501 B
YAML

name: website
on:
push:
branches:
- main
concurrency:
group: ${{ gitea.workflow }}-${{ gitea.ref }}
cancel-in-progress: true
jobs:
prod-build:
runs-on: act-runner
timeout-minutes: 5
steps:
- name: clone
uses: actions/checkout@v4
- name: build
run: hugo --minify --gc --baseURL "https://denyskon.de/"
- name: deploy
run: |
cd public
rsync -azr --delete ./ /var/www/html/