Skip to content

Commit 74861b9

Browse files
Merge pull request #11 from PaystackOSS/patch/v2.1.2
Create workflows
2 parents d1d1834 + 6474938 commit 74861b9

File tree

2 files changed

+30
-1
lines changed

2 files changed

+30
-1
lines changed

.github/workflows/deploy.yml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: Deploy to WordPress.org
2+
on:
3+
release:
4+
types: [published]
5+
jobs:
6+
tag:
7+
name: New release
8+
runs-on: ubuntu-latest
9+
steps:
10+
- name: Checkout code
11+
uses: actions/checkout@v2
12+
- name: WordPress Plugin Deploy
13+
id: deploy
14+
uses: 10up/action-wordpress-plugin-deploy@stable
15+
with:
16+
generate-zip: true
17+
env:
18+
SVN_USERNAME: ${{ secrets.SVN_USERNAME }}
19+
SVN_PASSWORD: ${{ secrets.SVN_PASSWORD }}
20+
SLUG: paystack-sprout-invoices
21+
- name: Upload release asset
22+
uses: actions/upload-release-asset@v1
23+
env:
24+
GITHUB_TOKEN: ${{ secrets.GIT_TOKEN }}
25+
with:
26+
upload_url: ${{ github.event.release.upload_url }}
27+
asset_path: ${{ steps.deploy.outputs.zip-path }}
28+
asset_name: ${{ github.event.repository.name }}.zip
29+
asset_content_type: application/zip

sprout-invoices-paystack-payments.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
Plugin URI: https://paystack.com/
55
Description: Accept Payments with Paystack for Sprout Invoices.
66
Author: Paystack
7-
Version: 2.1
7+
Version: 2.1.2
88
Author URI: https://paystack.com
99
*/
1010

0 commit comments

Comments
 (0)