Skip to content

Commit 5afe314

Browse files
authored
Update push-deploy.yml
Signed-off-by: Chris Vancoillie <chris@lsdev.biz>
1 parent 01fc2fb commit 5afe314

File tree

1 file changed

+3
-16
lines changed

1 file changed

+3
-16
lines changed

.github/workflows/push-deploy.yml

Lines changed: 3 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -3,30 +3,17 @@ on:
33
push:
44
tags:
55
- "*"
6-
workflow_dispatch:
7-
86
jobs:
97
tag:
10-
name: New release
8+
name: New tag
119
runs-on: ubuntu-latest
1210
steps:
13-
- name: Install Subversion
14-
run: sudo apt-get update && sudo apt-get install -y subversion rsync git zip
15-
1611
- name: Checkout code
17-
uses: actions/checkout@v3
18-
with:
19-
fetch-depth: 0
20-
ref: ${{ github.ref }}
21-
22-
# Step to fix the "dubious ownership" issue
23-
- name: Set safe directory for Git
24-
run: git config --global --add safe.directory /github/workspace
12+
uses: actions/checkout@v4
2513

2614
- name: WordPress Plugin Deploy
27-
uses: 10up/action-wordpress-plugin-deploy@master
15+
uses: 10up/action-wordpress-plugin-deploy@stable
2816
env:
2917
SVN_PASSWORD: ${{ secrets.SVN_PASSWORD }}
3018
SVN_USERNAME: ${{ secrets.SVN_USERNAME }}
3119
SLUG: tour-operator
32-
TAG: ${{ github.ref_name }}

0 commit comments

Comments
 (0)