Skip to content

Commit 0618503

Browse files
committed
Add Github Actions
1 parent 0eb93fd commit 0618503

File tree

5 files changed

+48
-37
lines changed

5 files changed

+48
-37
lines changed

Diff for: .distignore

+23
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
/.wordpress-org
2+
/.git
3+
/.github
4+
/node_modules
5+
/bin
6+
/sass
7+
/vendor
8+
/tests
9+
readme.md
10+
package.json
11+
composer.json
12+
composer.lock
13+
Gruntfile.js
14+
push.sh
15+
phpunit.xml
16+
phpunit.xml.dist
17+
phpcs.xml
18+
README.md
19+
readme.md
20+
.travis.yml
21+
.distignore
22+
.gitignore
23+
docker-compose.yml

Diff for: .gitattributes

+7
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

Diff for: .github/workflows/deploy.yml

+17
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@master
14+
env:
15+
SVN_PASSWORD: ${{ secrets.SVN_PASSWORD }}
16+
SVN_USERNAME: ${{ secrets.SVN_USERNAME }}
17+
SLUG: indieweb

Diff for: .svnignore

-33
This file was deleted.

Diff for: .travis.yml

+1-4
Original file line numberDiff line numberDiff line change
@@ -9,24 +9,21 @@ cache:
99
directories:
1010
- vendor
1111
- $HOME/.composer/cache
12-
after_success: curl -L https://raw.githubusercontent.com/miya0001/travis2wpplugin/master/deploy.sh | bash
12+
after_success:
1313
env:
1414
matrix:
1515
- WP_VERSION=latest WP_MULTISITE=0
1616
global:
1717
- WP_TRAVISCI=travis:phpunit
1818
- SVN_REPO: https://plugins.svn.wordpress.org/indieweb/
1919
- GH_REF: https://github.com/indieweb/wordpress-indieweb.git
20-
- secure: "XQXCVlHyWGYEtJRwwmP3uIRML07en6LfZ0aW88PoHagLFp/HGIrNX4a2Xah09dAjsaKFUdiUawkk00ge0XGHADbB3n3F7XFshELKS6MFNOOngRiBWYD4aDF7mwZbZ1qab28wh4PCK0LndpfYI5ta+ltg/x9JFpwnELR1nfRFj/s="
2120
matrix:
2221
include:
2322
- php: 7.3
2423
- php: 7.2
2524
- php: 7.1
2625
- php: 7.0
2726
- php: 5.6
28-
- php: 5.6
29-
env: WP_PULUGIN_DEPLOY=1
3027
before_script:
3128
- |
3229
# Remove Xdebug for a huge performance increase:

0 commit comments

Comments
 (0)