Skip to content

Commit 76568e9

Browse files
Merge pull request #12 from PaystackOSS/feat/github-actions-deploy
Feat/GitHub actions deploy
2 parents f3adc07 + c496c9b commit 76568e9

1 file changed

Lines changed: 16 additions & 14 deletions

File tree

.github/workflows/deploy.yml

Lines changed: 16 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,23 @@
11
name: Deploy to WordPress.org
2+
23
on:
34
push:
4-
tags:
5-
- "*"
5+
branches:
6+
- master
7+
68
jobs:
79
tag:
8-
name: Deploy Plugin
10+
name: Deploy
911
runs-on: ubuntu-latest
1012
steps:
11-
- uses: actions/checkout@master
12-
- name: Build # Remove or modify this step as needed
13-
run: |
14-
npm install
15-
npm run build
16-
- name: WordPress Plugin Deploy
17-
uses: 10up/action-wordpress-plugin-deploy@stable
18-
env:
19-
SVN_PASSWORD: ${{ secrets.SVN_PASSWORD }}
20-
SVN_USERNAME: ${{ secrets.SVN_USERNAME }}
21-
SLUG: paystack-memberpress
13+
- uses: actions/checkout@master
14+
- name: Build # Remove or modify this step as needed
15+
run: |
16+
npm install
17+
npm run build
18+
- name: WordPress Plugin Deploy
19+
uses: 10up/action-wordpress-plugin-deploy@stable
20+
env:
21+
SVN_PASSWORD: ${{ secrets.SVN_PASSWORD }}
22+
SVN_USERNAME: ${{ secrets.SVN_USERNAME }}
23+
SLUG: paystack-memberpress

0 commit comments

Comments
 (0)