diff --git a/.github/workflows/cicd.yml b/.github/workflows/cicd.yml index 20fe84a..e48e58e 100644 --- a/.github/workflows/cicd.yml +++ b/.github/workflows/cicd.yml @@ -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 @@ -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