Skip to content

Commit 94df2dd

Browse files
Merge pull request #16 from PaystackOSS/feat/github-actions-deploy
auto deply to WP.org
2 parents d881c91 + decaf67 commit 94df2dd

File tree

1 file changed

+15
-12
lines changed

1 file changed

+15
-12
lines changed

.github/workflows/deploy.yml

Lines changed: 15 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,22 @@
1-
name: Deploy to WordPress.org
2-
1+
name: Deploy WordPress plugin
32
on:
43
push:
54
branches:
65
- master
7-
6+
87
jobs:
9-
tag:
10-
name: Deploy
11-
runs-on: ubuntu-latest
8+
build:
9+
name: Deploy WordPress plugin
10+
# 2. Specify Linux runner
11+
runs-on: ubuntu-20.04
1212
steps:
13-
- uses: actions/checkout@master
14-
- name: WordPress Plugin Deploy
15-
uses: 10up/action-wordpress-plugin-deploy@stable
13+
# 3. Checkout before Use this deployment action
14+
- name: Checkout
15+
uses: actions/checkout@v3
16+
# 4. Use action with environment variable set by secrets
17+
- name: Deploy
18+
uses: yukihiko-shinoda/action-deploy-wordpress-plugin@v2
1619
env:
17-
SVN_PASSWORD: ${{ secrets.SVN_PASSWORD }}
18-
SVN_USERNAME: ${{ secrets.SVN_USERNAME }}
19-
SLUG: paystack-memberpress
20+
SVN_REPOSITORY_URL: ${{ secrets.SVN_REPO_URL }}
21+
SVN_USER_NAME: ${{ secrets.SVN_USERNAME }}
22+
SVN_USER_PASSWORD: ${{ secrets.SVN_PASSWORD }}

0 commit comments

Comments
 (0)