Skip to content

Commit

Permalink
Update push-deploy.yml
Browse files Browse the repository at this point in the history
Signed-off-by: Chris Vancoillie <[email protected]>
  • Loading branch information
eleshar authored Dec 29, 2024
1 parent b069871 commit 77dfe92
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/push-deploy.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,8 @@
name: Deploy to WordPress.org
on:
# Trigger on push with tags
push:
tags:
- "*"

# Trigger manually from GitHub Actions UI
workflow_dispatch:

jobs:
Expand All @@ -18,6 +15,9 @@ jobs:

- name: Checkout code
uses: actions/checkout@v3
with:
fetch-depth: 0
ref: ${{ github.ref }}

# Step to fix the "dubious ownership" issue
- name: Set safe directory for Git
Expand All @@ -29,3 +29,4 @@ jobs:
SVN_PASSWORD: ${{ secrets.SVN_PASSWORD }}
SVN_USERNAME: ${{ secrets.SVN_USERNAME }}
SLUG: tour-operator
TAG: ${{ github.ref_name }}

0 comments on commit 77dfe92

Please sign in to comment.