Skip to content

Commit

Permalink
Action with Node 14
Browse files Browse the repository at this point in the history
  • Loading branch information
priyomukul committed Dec 24, 2021
1 parent ec03287 commit 7878971
Showing 1 changed file with 8 additions and 11 deletions.
19 changes: 8 additions & 11 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -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 }}
- name: WordPress Plugin Deploy
id: deploy
uses: 10up/action-wordpress-plugin-deploy@stable
env:
SVN_PASSWORD: ${{ secrets.SVN_PASSWORD }}
SVN_USERNAME: ${{ secrets.SVN_USERNAME }}

0 comments on commit 7878971

Please sign in to comment.