Add .gitea/workflows/build.yaml
All checks were successful
website / prod-build (push) Successful in 5s
All checks were successful
website / prod-build (push) Successful in 5s
This commit is contained in:
parent
c6c3d2a8d6
commit
2b64fbd5d1
25
.gitea/workflows/build.yaml
Normal file
25
.gitea/workflows/build.yaml
Normal file
@ -0,0 +1,25 @@
|
||||
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@v3
|
||||
- name: build
|
||||
run: hugo --minify --gc --baseURL "https://ssp.denyskon.de/"
|
||||
- name: deploy
|
||||
run: |
|
||||
cd public
|
||||
rsync -azr --delete ./ /var/www/ssp/
|
||||
|
Loading…
x
Reference in New Issue
Block a user