del
Some checks failed
Docker Deploy / build-and-deploy (push) Failing after 38s

This commit is contained in:
sam
2026-02-06 09:36:45 +00:00
parent 8a6172f5a7
commit 2ca60d6feb
2 changed files with 0 additions and 33 deletions

View File

@@ -1,26 +0,0 @@
name: Docker Deploy
on: [push]
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: Check out repository code
uses: actions/checkout@v4
- name: Build Docker Image
run: |
docker build -t my-local-app:latest .
- name: Deploy to CasaOS (Docker)
run: |
# Stop and remove the old container if it exists
docker stop my-running-app || true
docker rm my-running-app || true
# Run the new container
docker run -d \
--name my-running-app \
-p 9002:5005 \
--restart always \
my-local-app:latest

View File

@@ -1,7 +0,0 @@
name: Connectivity Test
on: [push]
jobs:
test:
runs-on: ubuntu-latest
steps:
- run: echo "The runner is working!"