From 783b2108b2202b64c4a47e6a6c676839d0483328 Mon Sep 17 00:00:00 2001 From: Jonathan Daggerhart Date: Mon, 15 Jun 2020 07:22:02 -0400 Subject: [PATCH] github workflow for deploying to wp.org --- .github/workflows/main.yml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 .github/workflows/main.yml diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 0000000..9c26942 --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,28 @@ +name: Deploy to WordPress.org +on: + push: + tags: + - "*" +jobs: + tag: + name: New tag + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@master + + # - name: Validate composer.json and composer.lock + # run: composer validate + + # - name: Install dependencies + # run: composer install --prefer-dist --no-progress --no-suggest --no-dev + + # - name: Build + # run: | + # npm install + # npm run build + - name: WordPress Plugin Deploy + uses: 10up/action-wordpress-plugin-deploy@1.4.0 + env: + SVN_PASSWORD: ${{ secrets.SVN_PASSWORD }} + SVN_USERNAME: ${{ secrets.SVN_USERNAME }} + SLUG: daggerhart-openid-connect-generic