Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/cicd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ jobs:
name: Deploy to server
runs-on: ubuntu-latest
needs: quality-assurance
if: success() && github.ref == 'refs/heads/productiont'
if: success() && github.ref == 'refs/heads/production'

steps:
- name: Deploy via SSH
Expand All @@ -77,7 +77,7 @@ jobs:
script: |
cd /home/ideologicalatlas/notifications
git fetch --all
git reset --hard origin/productiont
git reset --hard origin/production
printf "%s" "${{ secrets.ENV_FILE }}" > .env
docker compose up -d --build --remove-orphans
docker image prune -f