deploy: use sudo to use git
This commit is contained in:
@@ -63,8 +63,8 @@ jobs:
|
||||
cd ${{ secrets.DEPLOY_PATH }}
|
||||
|
||||
echo "==> Synchronisation branche dev"
|
||||
git fetch origin dev
|
||||
git reset --hard origin/dev
|
||||
sudo git fetch origin dev
|
||||
sudo git reset --hard origin/dev
|
||||
|
||||
echo "==> Redémarrage Directus"
|
||||
docker compose restart directus
|
||||
|
||||
Reference in New Issue
Block a user