Skip to content

Commit 561c6c6

Browse files
authored
fix: use environment
1 parent 938b86b commit 561c6c6

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

.github/workflows/deploy.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ jobs:
3535
find out/ -type f | head -10
3636
3737
- name: Test - Check deployment configuration (PR only)
38+
environment: deploy
3839
if: github.event_name == 'pull_request'
3940
run: |
4041
echo "🧪 Testing deployment configuration..."
@@ -51,6 +52,7 @@ jobs:
5152
fi
5253
5354
- name: Deploy to FTP (Production)
55+
environment: deploy
5456
if: github.event_name == 'pull_request'
5557
uses: SamKirkland/FTP-Deploy-Action@4.3.0
5658
with:

0 commit comments

Comments
 (0)