Skip to content

Commit 3034a56

Browse files
authored
fix: environment
1 parent 561c6c6 commit 3034a56

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

.github/workflows/deploy.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@ on:
1010
jobs:
1111
build:
1212
runs-on: ubuntu-latest
13-
13+
environment: deploy
14+
1415
steps:
1516
- name: Checkout code
1617
uses: actions/checkout@v4
@@ -35,7 +36,6 @@ jobs:
3536
find out/ -type f | head -10
3637
3738
- name: Test - Check deployment configuration (PR only)
38-
environment: deploy
3939
if: github.event_name == 'pull_request'
4040
run: |
4141
echo "🧪 Testing deployment configuration..."
@@ -52,7 +52,6 @@ jobs:
5252
fi
5353
5454
- name: Deploy to FTP (Production)
55-
environment: deploy
5655
if: github.event_name == 'pull_request'
5756
uses: SamKirkland/FTP-Deploy-Action@4.3.0
5857
with:

0 commit comments

Comments
 (0)