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