Compare commits

...

10 Commits

Author SHA1 Message Date
07ca3dd3a5 build
All checks were successful
/ build (push) Has been skipped
/ deploy (push) Successful in 10s
2024-08-14 16:25:52 +02:00
a333928d39 build
All checks were successful
/ build (push) Successful in 1m47s
2024-08-14 16:12:09 +02:00
eadcddc659 up 2024-08-08 20:58:59 +02:00
ad9b1cd38d try gitea action
All checks were successful
/ build (push) Successful in 16s
2024-08-03 12:00:23 +02:00
4789bb5c03 try gitea action
All checks were successful
/ build (push) Successful in 36s
2024-08-03 11:59:15 +02:00
c57c660f9f try gitea action
All checks were successful
/ build (push) Successful in 16s
2024-08-03 11:24:04 +02:00
2c66d6c165 try gitea action
All checks were successful
/ build (push) Successful in 40s
2024-08-02 21:03:54 +02:00
cd025a9291 try gitea action
All checks were successful
/ build (push) Successful in 2m10s
2024-08-02 20:58:47 +02:00
4f5ff56f9e try gitea action
All checks were successful
/ build (push) Successful in 1m26s
2024-08-02 19:41:37 +02:00
728da376f7 try gitea action
Some checks failed
/ build (push) Has been cancelled
2024-08-02 19:40:39 +02:00

View File

@ -8,20 +8,28 @@ on:
jobs:
build:
runs-on: ubuntu-latest
if: ${{ !startsWith(gitea.ref, 'refs/tags/v') }}
steps:
- uses: actions/checkout@v4
with:
submodules: true
- uses: peaceiris/actions-hugo@v3
with:
extended: true
- uses: actions/cache@v4
with:
path: resources
key: ${{ runner.os }}-resources
- uses: peaceiris/actions-hugo@v3
with:
extended: true
- name: Build
run: hugo --minify
- uses: https://gitea.okami101.io/okami101/docker-action@main
if: startsWith(github.ref, 'refs/tags/v')
- uses: https://gitea.okami101.io/okami101/actions/docker@main
with:
password: ${{ secrets.CONTAINER_REGISTRY_PASSWORD }}
deploy:
runs-on: ubuntu-latest
if: ${{ startsWith(gitea.ref, 'refs/tags/v') }}
steps:
- uses: https://gitea.okami101.io/okami101/actions/docker@main
with:
password: ${{ secrets.CONTAINER_REGISTRY_PASSWORD }}