Skip to content

Commit

Permalink
Removed sudo key word as per suggestion by staff
Browse files Browse the repository at this point in the history
  • Loading branch information
mauritzs committed Mar 11, 2025
1 parent d9e87f9 commit 075ccfd
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/deploy_dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,20 +23,20 @@ jobs:
# Remove existing docker containers
- name: Stop and remove existing containers
run: |
sudo docker compose down || true
docker compose down || true
# Pull the latest Docker images
- name: Pull latest Docker images
run: sudo docker compose pull || true
run: docker compose pull || true

# Build Docker images if there are any changes
- name: Build Docker images
run: sudo docker compose build --no-cache
run: docker compose build --no-cache

# Start Docker containers (detached mode)
- name: Start Docker containers
run: sudo docker compose up -d
run: docker compose up -d

# Verify that the containers are running
- name: Verify running Docker containers
run: sudo docker ps -a
run: docker ps -a
6 changes: 3 additions & 3 deletions .github/workflows/update_primary_nginx.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
name: Deploy nginx configuration to TDT4242 server

on:
# push:
# branches:
# - main
push:
branches:
- main
workflow_dispatch:

jobs:
Expand Down

0 comments on commit 075ccfd

Please sign in to comment.