Skip to content

Commit c29d3b7

Browse files
committed
deploy to wordpress.org
1 parent 8b63251 commit c29d3b7

File tree

9 files changed

+40
-0
lines changed

9 files changed

+40
-0
lines changed

.distignore

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
/.wordpress-org
2+
/.git
3+
/.github
4+
/node_modules
5+
6+
.distignore
7+
.gitignore

.gitattributes

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# Directories
2+
/.wordpress-org export-ignore
3+
/.github export-ignore
4+
5+
# Files
6+
/.gitattributes export-ignore
7+
/.gitignore export-ignore

.github/workflows/deploy.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
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: wec360
21+
- name: Upload release asset
22+
uses: softprops/action-gh-release@v1
23+
env:
24+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
25+
with:
26+
files: ${{ github.event.repository.name }}.zip

.wordpress-org/banner-1544x500.jpg

16.4 KB
Loading

.wordpress-org/banner-722x250.jpg

6.91 KB
Loading

.wordpress-org/icon-256x256.png

1.54 KB
Loading
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)