Skip to content

Commit

Permalink
chore(workflow): update workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
daomapsieucap committed May 25, 2023
1 parent 43c16cc commit 0ffcd39
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 22 deletions.
19 changes: 4 additions & 15 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: πŸ›Έ Deploy to WordPress.org
name: πŸš€ Deploy to WordPress.org
on:
release:
types: [ published ]
Expand All @@ -7,10 +7,10 @@ jobs:
name: πŸŽ‰ New release
runs-on: ubuntu-latest
steps:
- name: 🚚 Get the latest code
uses: actions/checkout@v2
- name: 🚚 Checkout code
uses: actions/checkout@master

- name: πŸš€ WordPress Plugin Deploy
- name: πŸ—ƒοΈ WordPress Plugin Deploy
id: deploy
uses: 10up/action-wordpress-plugin-deploy@stable
with:
Expand All @@ -20,17 +20,6 @@ jobs:
SVN_PASSWORD: ${{ secrets.SVN_PASSWORD }}
#SLUG: ${{ secrets.SLUG }}

# - name: πŸ“‹ Upload release asset
# uses: rops/action-gh-release@v1
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# GITHUB_REPOSITORY: viivue/acf-icomoon
# with:
# upload_url: ${{ github.event.release.upload_url }}
# #asset_path: ${{ steps.deploy.outputs.zip-path }}
# #asset_name: ${{ github.event.repository.name }}.zip
# asset_content_type: application/zip

- name: πŸ“‚ Upload release asset
uses: actions/upload-release-asset@v1
env:
Expand Down
12 changes: 5 additions & 7 deletions .github/workflows/plugin-info.yml
Original file line number Diff line number Diff line change
@@ -1,18 +1,16 @@
name: πŸ“‹ Plugin asset/readme update
name: πŸ›Έ Plugin asset/readme update
on:
push:
branches:
- trunk
jobs:
trunk:
name: πŸŽ‰ Push to trunk
name: 🚚 Push to trunk
runs-on: ubuntu-latest
steps:
- name: 🚚 Get the latest code
uses: actions/checkout@v2

- name: πŸš€ WordPress.org plugin asset/readme update
- uses: actions/checkout@master
- name: WordPress.org plugin asset/readme update
uses: 10up/action-wordpress-plugin-asset-update@stable
env:
SVN_PASSWORD: ${{ secrets.SVN_PASSWORD }}
SVN_USERNAME: ${{ secrets.SVN_USERNAME }}
SVN_USERNAME: ${{ secrets.SVN_USERNAME }}

0 comments on commit 0ffcd39

Please sign in to comment.