From 7878971e4ddf6e9e5dbe79de2bb97c8cdb1d8041 Mon Sep 17 00:00:00 2001 From: PriyoMukul Date: Fri, 24 Dec 2021 13:52:08 +0600 Subject: [PATCH] Action with Node 14 --- .github/workflows/deploy.yml | 19 ++++++++----------- 1 file changed, 8 insertions(+), 11 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index f45f121c..7bdfcde5 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -5,8 +5,8 @@ name: Deploy to WordPress.org on: # Triggers the workflow on push or pull request events but only for the master branch push: - branches: - - act + tags: + - "*" # A workflow run is made up of one or more jobs that can run sequentially or in parallel jobs: # This workflow contains a single job called "build" @@ -21,15 +21,12 @@ jobs: - uses: actions/setup-node@v2 with: node-version: '14' - # below lines for git submodule if any. - # with: - # submodules: recursive - name: Running NPM Install & Build run: | cd Gutenberg && npm install && npm run build && cd .. - # - name: WordPress Plugin Deploy - # id: deploy - # uses: 10up/action-wordpress-plugin-deploy@stable - # env: - # SVN_PASSWORD: ${{ secrets.SVN_PASSWORD }} - # SVN_USERNAME: ${{ secrets.SVN_USERNAME }} \ No newline at end of file + - name: WordPress Plugin Deploy + id: deploy + uses: 10up/action-wordpress-plugin-deploy@stable + env: + SVN_PASSWORD: ${{ secrets.SVN_PASSWORD }} + SVN_USERNAME: ${{ secrets.SVN_USERNAME }} \ No newline at end of file