Skip to content

Commit

Permalink
Modify order of command of generate zip on deploy-org.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
aminurislamarnob authored Oct 11, 2024
1 parent 2d93f22 commit 2d9b8ad
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions .github/workflows/deploy-org.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,15 @@ jobs:
SVN_PASSWORD: ${{ secrets.SVN_PASSWORD }}
SVN_USERNAME: ${{ secrets.SVN_USERNAME }}
SLUG: wedevs-project-manager

# Generate release zip after all steps
- name: Generate zip
uses: 10up/action-wordpress-plugin-build-zip@stable
with:
slug: wedevs-project-manager # Ensure this matches your plugin's SVN slug
env:
SVN_PASSWORD: ${{ secrets.SVN_PASSWORD }}
SVN_USERNAME: ${{ secrets.SVN_USERNAME }}

- name: Create Release
id: create_release
Expand Down Expand Up @@ -70,9 +79,4 @@ jobs:

# Provide the file type.
asset_content_type: application/zip

- name: Generate zip
uses: 10up/action-wordpress-plugin-build-zip@stable
env:
SLUG: wedevs-project-manager # optional, remove if GitHub repo name matches SVN slug, including capitalization

0 comments on commit 2d9b8ad

Please sign in to comment.