diff --git a/.github/workflows/worker-delete.yml b/.github/workflows/worker-delete.yml index 89d3e23f..5a9a43c0 100644 --- a/.github/workflows/worker-delete.yml +++ b/.github/workflows/worker-delete.yml @@ -7,6 +7,7 @@ jobs: delete: runs-on: ubuntu-latest name: Delete Deployment + environment: ${{ github.ref == 'refs/heads/main' && 'main' || 'development' }} steps: - name: Setup Node uses: actions/setup-node@v4 diff --git a/.github/workflows/worker-deploy.yml b/.github/workflows/worker-deploy.yml index b218e8f1..325a604e 100644 --- a/.github/workflows/worker-deploy.yml +++ b/.github/workflows/worker-deploy.yml @@ -8,6 +8,7 @@ jobs: deploy: runs-on: ubuntu-latest name: Deploy + environment: ${{ github.ref == 'refs/heads/main' && 'main' || 'development' }} steps: - name: Setup Node uses: actions/setup-node@v4