fix: removed upload
All checks were successful
Build and Deploy Go App / build (push) Successful in 2m44s
Build and Deploy Go App / deploy (push) Has been skipped

This commit is contained in:
nihonium 2025-10-08 02:34:53 +03:00
parent 0a775f270c
commit 1fdb82ed0d
Signed by: nihonium
GPG key ID: 0251623741027CFC

View file

@ -24,32 +24,11 @@ jobs:
cd modules/server
docker build -t nyanimedb:latest .
- name: Save Docker image artifact
run: docker save nyanimedb:latest -o nyanimedb.tar
- name: Upload image artifact
uses: actions/upload-artifact@v4
with:
name: docker-image
path: nyanimedb.tar
deploy:
runs-on: self-hosted
needs: build
if: ${{ github.event.inputs.deploy == 'true' }} # manual deploy trigger
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Download image
uses: actions/download-artifact@v4
with:
name: docker-image
path: .
- name: Load Docker image
run: docker load -i nyanimedb.tar
- name: Deploy container locally
run: |
echo "Deploying nyanimedb locally..."