Skip to content

Commit

Permalink
actions updated.
Browse files Browse the repository at this point in the history
  • Loading branch information
priyomukul committed Sep 26, 2021
1 parent f41cbf8 commit 6c232c6
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 6 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/assets.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# Deploy to WP.org
name: Deploy to WordPress.org

on:
push:
branches: [ trunk ]
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Running NPM Install & Build For Gutenberg
run: |
npm install --silent && npm run build
- name: Assets Update
id: assets
uses: 10up/action-wordpress-plugin-asset-update@stable
env:
SVN_PASSWORD: ${{ secrets.SVN_PASSWORD }}
SVN_USERNAME: ${{ secrets.SVN_USERNAME }}
6 changes: 0 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,6 @@ jobs:
- 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: Assets Update
id: assets
uses: 10up/action-wordpress-plugin-asset-update@stable
env:
SVN_PASSWORD: ${{ secrets.SVN_PASSWORD }}
SVN_USERNAME: ${{ secrets.SVN_USERNAME }}

0 comments on commit 6c232c6

Please sign in to comment.