Skip to content

Commit 8b89a30

Browse files
committed
add deploy script
1 parent 1df2897 commit 8b89a30

File tree

2 files changed

+20
-0
lines changed

2 files changed

+20
-0
lines changed

.gitattributes

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,5 @@
11
# Auto detect text files and perform LF normalization
22
* text=auto
3+
4+
# Directories
5+
/.github export-ignore

.github/workflows/deploy.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
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: WordPress Plugin Deploy
13+
uses: 10up/action-wordpress-plugin-deploy@stable
14+
env:
15+
SVN_PASSWORD: ${{ secrets.SVN_PASSWORD }}
16+
SVN_USERNAME: ${{ secrets.SVN_USERNAME }}
17+
SLUG: vercel-deploy-hooks # optional, remove if GitHub repo name matches SVN slug, including capitalization

0 commit comments

Comments
 (0)