Dockerfile + CI/CD Pipeline hinzugefügt
Deploy Portfolio / deploy (push) Failing after 10s

This commit is contained in:
2026-05-10 12:14:10 +02:00
parent be226be216
commit 2de8609d3c
3 changed files with 34 additions and 0 deletions
+20
View File
@@ -0,0 +1,20 @@
name: Deploy Portfolio
on:
push:
branches: [ "master" ]
jobs:
deploy:
runs-on: ubuntu-latest
container:
image: catthehacker/ubuntu:act-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Build and Deploy
run: |
docker build -t portfolio:latest .
docker stop portfolio 2>/dev/null || true
docker rm portfolio 2>/dev/null || true
docker run -d --name portfolio -p 8081:80 portfolio:latest