From 5f1b44773d86b30909fe30b6e7e9520374f484ff Mon Sep 17 00:00:00 2001 From: ole Date: Mon, 3 Feb 2020 08:19:39 +0100 Subject: [PATCH 1/4] Create wordpress-deploy.yml --- .github/workflows/wordpress-deploy.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 .github/workflows/wordpress-deploy.yml diff --git a/.github/workflows/wordpress-deploy.yml b/.github/workflows/wordpress-deploy.yml new file mode 100644 index 0000000..ead1b2c --- /dev/null +++ b/.github/workflows/wordpress-deploy.yml @@ -0,0 +1,17 @@ +name: Deploy to WordPress.org +on: + release: + type: [publish] +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: wp-ispconfig3 + ASSETS_DIR: assets From 971ee3c7aa066aaa3753f28edba0b64d84a76da9 Mon Sep 17 00:00:00 2001 From: ole1986 Date: Mon, 3 Feb 2020 08:21:54 +0100 Subject: [PATCH 2/4] Added .distignore for wordpress deployment --- .distignore | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 .distignore diff --git a/.distignore b/.distignore new file mode 100644 index 0000000..e13fc06 --- /dev/null +++ b/.distignore @@ -0,0 +1,6 @@ +/assets +/.git +/.github + +.distignore +.gitignore \ No newline at end of file From 0e284f599daa23144c5a702811369cf6f0cd0a3c Mon Sep 17 00:00:00 2001 From: ole Date: Mon, 3 Feb 2020 14:40:52 +0100 Subject: [PATCH 3/4] Update wordpress-deploy.yml --- .github/workflows/wordpress-deploy.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/wordpress-deploy.yml b/.github/workflows/wordpress-deploy.yml index ead1b2c..66fe92c 100644 --- a/.github/workflows/wordpress-deploy.yml +++ b/.github/workflows/wordpress-deploy.yml @@ -1,7 +1,7 @@ name: Deploy to WordPress.org on: release: - type: [publish] + types: [publish] jobs: tag: name: New tag From f8b79d46f78f34b4e1cb7c5adbc3ad0ff895cf11 Mon Sep 17 00:00:00 2001 From: ole Date: Mon, 3 Feb 2020 14:43:55 +0100 Subject: [PATCH 4/4] Update wordpress-deploy.yml --- .github/workflows/wordpress-deploy.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/wordpress-deploy.yml b/.github/workflows/wordpress-deploy.yml index 66fe92c..95026a3 100644 --- a/.github/workflows/wordpress-deploy.yml +++ b/.github/workflows/wordpress-deploy.yml @@ -1,7 +1,7 @@ name: Deploy to WordPress.org on: release: - types: [publish] + types: [published] jobs: tag: name: New tag