Skip to content

Commit 18a882d

Browse files
Merge pull request #17 from PaystackOSS/feat/github-actions-deploy
Feat/GitHub actions deploy
2 parents 94df2dd + 8ce0ff8 commit 18a882d

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/deploy.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
name: Deploy WordPress plugin
22
on:
33
push:
4-
branches:
5-
- master
4+
tags:
5+
- "[0-9]+.[0-9]+.[0-9]+"
66

77
jobs:
88
build:
@@ -15,8 +15,8 @@ jobs:
1515
uses: actions/checkout@v3
1616
# 4. Use action with environment variable set by secrets
1717
- name: Deploy
18-
uses: yukihiko-shinoda/action-deploy-wordpress-plugin@v2
18+
uses: yukihiko-shinoda/action-deploy-wordpress-plugin@v2.1.1
1919
env:
2020
SVN_REPOSITORY_URL: ${{ secrets.SVN_REPO_URL }}
2121
SVN_USER_NAME: ${{ secrets.SVN_USERNAME }}
22-
SVN_USER_PASSWORD: ${{ secrets.SVN_PASSWORD }}
22+
SVN_USER_PASSWORD: ${{ secrets.SVN_PASSWORD }}

0 commit comments

Comments
 (0)