diff --git a/.gitea/workflows/release-artefact.yml b/.gitea/workflows/release-artefact.yml index 25837da..41bd3da 100644 --- a/.gitea/workflows/release-artefact.yml +++ b/.gitea/workflows/release-artefact.yml @@ -37,6 +37,7 @@ jobs: cd frontend npm ci NUXT_PUBLIC_API_BASE=/api NUXT_PUBLIC_APP_BASE=/ npm run generate + test -f .output/public/index.html - name: Build artefact shell: bash @@ -54,7 +55,7 @@ jobs: composer.json \ composer.lock \ symfony.lock \ - frontend/.output/public + frontend/.output - name: Create Release uses: softprops/action-gh-release@v2 diff --git a/.idea/workspace.xml b/.idea/workspace.xml index e9d401d..c1f4378 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -5,10 +5,9 @@ + - - @@ -527,7 +534,6 @@ - @@ -552,7 +558,8 @@ - diff --git a/README.md b/README.md index 20bbaee..8d0bb01 100644 --- a/README.md +++ b/README.md @@ -120,3 +120,9 @@ VALUES ('Mon user', '["ROLE_USER"]', 'Mon mdp hashé'); Pour suivre les logs en temps réel : * tail -f var/log/dev.log * tail -f var/log/prod.log + + +sudo usermod -aG www-data malio +sudo chown -R malio:www-data /var/www/ferme +sudo chmod -R g+rwX /var/www/ferme/var +sudo chmod -R g+rx /var/www/ferme