Skip to content

Commit

Permalink
Update deploy-org.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
saiftheboss7 authored Oct 10, 2024
1 parent db878d4 commit 4692a9c
Showing 1 changed file with 1 addition and 30 deletions.
31 changes: 1 addition & 30 deletions .github/workflows/deploy-org.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,36 +44,7 @@ jobs:
SVN_PASSWORD: ${{ secrets.SVN_PASSWORD }}
SVN_USERNAME: ${{ secrets.SVN_USERNAME }}
SLUG: wedevs-project-manager

- name: Create Release
id: create_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ github.ref }}
release_name: Release ${{ github.ref }}
draft: true
prerelease: true
- name: Upload release asset
uses: actions/upload-release-asset@v1
env:
# Note, this is an exception to action secrets: GH_TOKEN is always available and provides access to
# the current repository this action runs in.
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
# Get the URL for uploading assets to the current release.
upload_url: ${{ steps.create_release.outputs.upload_url }}

# Provide the path to the file generated in the previous step using the output.
asset_path: ${{ steps.deploy.outputs.zip-path }}

# Provide what the file should be named when attached to the release (plugin-name.zip)
asset_name: wedevs-project-manager.zip

# Provide the file type.
asset_content_type: application/zip


- name: Generate zip
uses: 10up/action-wordpress-plugin-build-zip@stable
env:
Expand Down

0 comments on commit 4692a9c

Please sign in to comment.