Skip to content

Commit

Permalink
remove deploy, try to fix sudo
Browse files Browse the repository at this point in the history
  • Loading branch information
Magnus Alexander Strømseng committed Mar 19, 2024
1 parent d8847d4 commit bc420e5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/autoredeploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,6 @@ jobs:
# Create .env.production with HOST_URL Frontend
echo "HOST_URL=${{ vars.HOST_URL }}" >> .env.production
- name: Docker build
run: docker-compose build
run: sudo -S docker-compose build
- name: Docker up
run: docker-compose up -d
run: sudo -S docker-compose up -d
6 changes: 0 additions & 6 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,6 @@ services:
- "1337:1337"
environment:
- NODE_ENV=production
deploy:
restart_policy:
condition: any
delay: 5s
max_attempts: 3
window: 120s

frontend-app:
build:
Expand Down

0 comments on commit bc420e5

Please sign in to comment.