This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
name: Déploiement Hugo Staging
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
|
||||
jobs:
|
||||
deploy-staging:
|
||||
runs-on: self-hosted
|
||||
steps:
|
||||
- name: Récupération du code
|
||||
uses: actions/checkout@v2
|
||||
- name: Déploiement sur staging
|
||||
run: |
|
||||
cd /home/deploy/staging
|
||||
git pull gitea master
|
||||
docker compose -f docker-compose.staging.yml up -d
|
||||
Reference in New Issue
Block a user