second commit
Some checks failed
Angular Docker CI/CD / build-and-deploy (push) Has been cancelled

This commit is contained in:
faviem
2026-04-01 18:24:04 +01:00
parent be395dce23
commit 321dca04b4
5 changed files with 88 additions and 21 deletions

View File

@@ -0,0 +1,25 @@
name: Angular Docker CI/CD
on:
push:
branches: [main]
jobs:
build-and-deploy:
runs-on: self-hosted
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Build Docker image
run: docker build -t front-fiscad .
- name: Stop old container
run: |
docker stop front-fiscad || true
docker rmi front-fiscad || true
- name: Run new container
run: |
docker run -d -p 8383:80 --name front-fiscad front-fiscad