Skip to content

Commit 2330538

Browse files
authored
feat: fix deploy on tag
1 parent d884dd3 commit 2330538

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/deploy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636
find out/ -type f | head -10
3737
3838
- name: Deploy to FTP (Production)
39-
if: github.event_name == 'pull_request'
39+
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v')
4040
uses: SamKirkland/FTP-Deploy-Action@4.3.0
4141
with:
4242
server: ${{ secrets.FTP_HOST }}

0 commit comments

Comments
 (0)