Compare commits
22 Commits
Author | SHA1 | Date | |
---|---|---|---|
b084807eb7 | |||
ee90948a73 | |||
014d8296eb | |||
8df54d0495 | |||
c0a93ea0cc | |||
6edc7790dc | |||
f2114e001b | |||
1b715c2a8d | |||
07ca3dd3a5 | |||
a333928d39 | |||
eadcddc659 | |||
ad9b1cd38d | |||
4789bb5c03 | |||
c57c660f9f | |||
2c66d6c165 | |||
cd025a9291 | |||
4f5ff56f9e | |||
728da376f7 | |||
e87401928e | |||
aa84e6e182 | |||
d2085e2305 | |||
7fefb3d53b |
@ -8,21 +8,25 @@ 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
|
||||
- name: Build test
|
||||
run: hugo --minify
|
||||
- uses: https://gitea.okami101.io/okami101/docker-action@main
|
||||
if: startsWith(github.ref, 'refs/tags/v')
|
||||
- uses: peaceiris/actions-hugo@v3
|
||||
with:
|
||||
extended: true
|
||||
- name: Build
|
||||
run: hugo --minify
|
||||
- uses: https://gitea.okami101.io/okami101/actions/docker@main
|
||||
with:
|
||||
username: ${{ vars.CONTAINER_REGISTRY_USERNAME }}
|
||||
password: ${{ secrets.CONTAINER_REGISTRY_PASSWORD }}
|
||||
|
||||
deploy:
|
||||
uses: https://gitea.okami101.io/okami101/actions/.gitea/workflows/release.yaml@c989e9942a2c7378face248c49f11120c999a142
|
||||
secrets:
|
||||
password: ${{ secrets.CONTAINER_REGISTRY_PASSWORD }}
|
||||
|
Reference in New Issue
Block a user