Skip to content

Commit

Permalink
Merge pull request #15 from dshanske/actions
Browse files Browse the repository at this point in the history
Support Deploy Through GitHub Actions
  • Loading branch information
dshanske authored Jan 27, 2020
2 parents d613fd8 + 3497156 commit 325df3a
Show file tree
Hide file tree
Showing 6 changed files with 45 additions and 37 deletions.
20 changes: 20 additions & 0 deletions .distignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
/.wordpress-org
/.git
/.github
/node_modules
/bin
/vendor
/tests
readme.md
package.json
composer.json
composer.lock
Gruntfile.js
push.sh
phpunit.xml
phpcs.xml
README.md
readme.md
.travis.yml
.distignore
.gitignore
7 changes: 7 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# Directories
/.wordpress-org export-ignore
/.github export-ignore

# Files
/.gitattributes export-ignore
/.gitignore export-ignore
17 changes: 17 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: Deploy to WordPress.org
on:
push:
tags:
- "*"
jobs:
tag:
name: New tag
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: WordPress Plugin Deploy
uses: 10up/action-wordpress-plugin-deploy@master
env:
SVN_PASSWORD: ${{ secrets.SVN_PASSWORD }}
SVN_USERNAME: ${{ secrets.SVN_USERNAME }}
SLUG: mf2-feed
33 changes: 0 additions & 33 deletions .svnignore

This file was deleted.

5 changes: 1 addition & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,23 +9,20 @@ cache:
directories:
- vendor
- $HOME/.composer/cache
after_success: curl -L https://raw.githubusercontent.com/miya0001/travis2wpplugin/master/deploy.sh | bash
after_success:
env:
matrix:
- WP_VERSION=latest WP_MULTISITE=0
global:
- WP_TRAVISCI=travis:phpunit
- SVN_REPO: https://plugins.svn.wordpress.org/mf2-feed/
- GH_REF: https://github.com/indieweb/wordpress-mf2-feed.git
- secure: "ppYi84vGXGXTstjdk1JwuwYSnzDI3zpsf3NqVXle8y0A19urkdf5GTMFwGLiCkLynHPZfWWly3x5fB6YIaGxIAu0rNPgbOUufMWremIssAXl7wcy5pNdhgbDKO/veXg5l+M+4WMuhLvH/fZGRiqtF7nC5VY8VmlmMxnvHeJ8mFW9RJavvsmeZivbSH65TvKecrAbYHGY0Yj2B2aMk/RX7gafZL3/7azSkKcjZ3zke2pu0sVFI8IjGJh3e9n2eJ9iWChHTjSQSV/uWmw0VQ5OCgiHENy37NSPIpw+qqwrcGtDscAhdfJj8r7HlCYdHtbJN5COWV7dZ3IIo6mITnuca4bFwnMb82ffL1gyk9D/PPKXVWrRZAqA6zCCf8e7OByUlkuhFmrsAQCHnGQCnOnv+2RQqbgu9/n9bPU7wQcuPlgv1nUpwa4YNBSMA/f2ENeeUBi+WeXWHtpFyNpehjp0RAxVBYpu4sS7vnLMe+T+qXOHoGxFN/xmFooffuk5ik2AGfYRdhrzjaY4+oc1GQ7iikq77Y/1VqExYKnLXw17lk8AxuMQ9Kac7Ef6hiTtgnCLw6qnPHbiMXwh23Dmn4ciByZFawLNVnAD4WFWwLgdRt67/2Te+EOwaIk029UtenhrEcQhIQPgukL5CO7VM7z/vl0ZLoVRwlkkpLfcg0IakZM="
matrix:
include:
- php: 7.2
- php: 7.1
- php: 7.0
- php: 5.6
- php: 5.6
env: WP_PULUGIN_DEPLOY=1
before_script:
- |
# Remove Xdebug for a huge performance increase:
Expand Down
Binary file added .wordpress-org/icon-256x256.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 325df3a

Please sign in to comment.