.gitea/workflows/build.yaml aktualisiert
This commit is contained in:
parent
cc02a36a45
commit
993cadbb50
@ -1,24 +1,18 @@
|
|||||||
name: website
|
name: Website Prod
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push: [main]
|
||||||
branches:
|
|
||||||
- main
|
jobs:
|
||||||
|
prod-build:
|
||||||
concurrency:
|
runs-on: act-runner
|
||||||
group: ${{ gitea.workflow }}-${{ gitea.ref }}
|
timeout-minutes: 5
|
||||||
cancel-in-progress: true
|
steps:
|
||||||
|
- name: clone
|
||||||
jobs:
|
uses: actions/checkout@v4
|
||||||
prod-build:
|
- name: build
|
||||||
runs-on: act-runner
|
run: hugo --minify --gc --baseURL "https://denyskon.de/"
|
||||||
timeout-minutes: 5
|
- name: deploy
|
||||||
steps:
|
run: |
|
||||||
- name: clone
|
cd public
|
||||||
uses: actions/checkout@v4
|
rsync -azr --delete ./ /opt/data/webdata/
|
||||||
- name: build
|
|
||||||
run: hugo --minify --gc --baseURL "https://denyskon.de/"
|
|
||||||
- name: deploy
|
|
||||||
run: |
|
|
||||||
cd public
|
|
||||||
rsync -azr --delete ./ /var/www/html/
|
|
Loading…
x
Reference in New Issue
Block a user