Skip to content

Commit

Permalink
new: dev: Added .htaccess and updated workflow command
Browse files Browse the repository at this point in the history
  • Loading branch information
PromiseFru committed Aug 28, 2023
1 parent 8a58b61 commit aaa0d30
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
echo "========================="
echo "🚀 Building project ..."
echo "========================="
if ! docker compose up -d prod; then
if ! docker compose up -d --no-deps --build prod; then
echo "❌ Error building project!"
exit 1
fi
Expand Down
5 changes: 5 additions & 0 deletions public/.htaccess
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
Options +MultiViews
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^ / [QSA,L]

0 comments on commit aaa0d30

Please sign in to comment.