add: pipeline ci/cd
All checks were successful
Déploiement Docker Vite / deploy (push) Successful in 8m59s

This commit is contained in:
guamss 2026-09-11 21:22:19 +02:00
parent 55006d9c72
commit 9b742bebdd

View File

@ -0,0 +1,21 @@
name: Déploiement Docker Vite
on:
push:
branches:
- blog-upload
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Clone the repo
uses: actions/checkout@v4
- name: Build docker image
run: docker build -t klbr-blog .
- name: Delete old one
run: docker rm -f klbr-blog || true
- name: Run the container
run: docker run -d --name klbr-blog -p 8080:8080 klbr-blog