Fix actions maybe?
Some checks failed
/ Connect to deployment host, update, and redeploy docs website. (push) Has been skipped
/ Build static site, docker image, upload artifact... (push) Failing after 1m46s

This commit is contained in:
2024-09-05 22:07:44 -07:00
parent ef1756df5e
commit 08b0c2fc09

View File

@@ -1,9 +1,9 @@
on:
push:
paths:
- "content/**"
- "static/**"
- "templates/**"
# paths:
# - "content/**"
# - "static/**"
# - "templates/**"
branches:
- "main"
@@ -19,13 +19,13 @@ jobs:
run: echo "::set-output name=date::$(date +'%Y%m%d%H%M%S')"
-
name: Checkout the git repo...
uses: actions/checkout@v3
uses: https://github.com/actions/checkout@v3
-
name: Set up docker buildx...
uses: docker/setup-buildx-action@v3
uses: https://github.com/docker/setup-buildx-action@v3
-
name: Login to gitea registry
uses: docker/login-action@v3
uses: https://github.com/docker/login-action@v3
with:
registry: gitea.raer.me
username: ${{ secrets.REGISTRY_USERNAME }}
@@ -51,14 +51,14 @@ jobs:
run: 7z a -mx=9 ./artifact.7z build
-
name: Upload artifact...
uses: actions/upload-artifact@v3
uses: https://github.com/actions/upload-artifact@v3
with:
name: artifact_${{ steps.date.outputs.date }}
path: ./artifact.7z
retention-days: 7
-
name: Build and push docker image to gitea package store
uses: docker/build-push-action@v5
uses: https://github.com/docker/build-push-action@v5
with:
context: .
push: true