Skip to content

Commit eef988a

Browse files
committed
initial commit for git repo prepapre
0 parents  commit eef988a

File tree

4 files changed

+49
-0
lines changed

4 files changed

+49
-0
lines changed

.distignore

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

.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: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
name: Deploy to WordPress.org
2+
on:
3+
push:
4+
tags:
5+
- "*"
6+
jobs:
7+
tag:
8+
name: New tag
9+
runs-on: ubuntu-latest
10+
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: Install SVN ( Subversion )
17+
run: |
18+
sudo apt-get update
19+
sudo apt-get install subversion
20+
- name: WordPress Plugin Deploy
21+
id: deploy
22+
uses: 10up/action-wordpress-plugin-deploy@stable
23+
with:
24+
generate-zip: true
25+
env:
26+
SVN_PASSWORD: ${{ secrets.SVN_PASSWORD }}
27+
SVN_USERNAME: ${{ secrets.SVN_USERNAME }}
28+
#SLUG: my-super-cool-plugin # optional, remove if GitHub repo name matches SVN slug, including capitalization
29+
- name: Create GitHub release
30+
uses: softprops/action-gh-release@v1
31+
with:
32+
files: ${{github.workspace}}/${{ github.event.repository.name }}.zip
33+
env:
34+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.gitignore

Whitespace-only changes.

0 commit comments

Comments
 (0)