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