deploy: change permission
This commit is contained in:
@@ -62,9 +62,12 @@ jobs:
|
||||
set -e
|
||||
cd ${{ secrets.DEPLOY_PATH }}
|
||||
|
||||
echo "==> Correction des permissions"
|
||||
sudo chown -R "$(whoami):" .
|
||||
|
||||
echo "==> Synchronisation branche dev"
|
||||
sudo git fetch origin dev
|
||||
sudo git reset --hard origin/dev
|
||||
git fetch origin dev
|
||||
git reset --hard origin/dev
|
||||
|
||||
echo "==> Redémarrage Directus"
|
||||
docker compose restart directus
|
||||
|
||||
Reference in New Issue
Block a user