kolibri_blog/.gitea/workflows/deploy.yml
guamss a43585ba27
All checks were successful
Déploiement Docker Vite / deploy (push) Successful in 7m30s
fix: temp fix
2026-09-12 01:55:17 +02:00

31 lines
806 B
YAML

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 --no-cache \
--build-arg FORGE_URL="${{ vars.FORGE_URL }}" \
--build-arg FORGE_USER="${{ vars.FORGE_USER }}" \
--build-arg FORGE_REPO="${{ vars.FORGE_REPO }}" \
--build-arg FORGE_BRANCH="${{ vars.FORGE_BRANCH }}" \
-t klbr-blog .
- 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