Skip to content

Commit

Permalink
Start 'deploy' after version nrs changed
Browse files Browse the repository at this point in the history
  • Loading branch information
carstingaxion committed May 30, 2024
1 parent 35c1818 commit 7fdae7e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 98 deletions.
20 changes: 4 additions & 16 deletions .github/workflows/wordpress-org-deploy.yml
Original file line number Diff line number Diff line change
@@ -1,20 +1,10 @@
name: Deploy to WordPress.org Repository

# on:
# release:
# types: [published]

# jobs:
# deploy-to-wp-repository:
# name: Deploy to WP.org
# if: ${{ ! github.event.release.prerelease }}
# runs-on: ubuntu-latest
# steps:
on:
# release:
# types: [edited]
push:
commit_message: 'Update version-numbers to '
release:
types: [edited]
# push:
# commit_message: 'Update version-numbers to '
# branches:
# - main

Expand Down Expand Up @@ -72,8 +62,6 @@ jobs:
run: |
npm run build
wp dist-archive . ./${{ github.event.repository.name }}.zip
# mkdir tmp-build
# unzip ${{ github.event.repository.name }}.zip -d tmp-build
- name: Upload release asset
uses: softprops/action-gh-release@v1
Expand Down
82 changes: 0 additions & 82 deletions .github/workflows/wordpress-org-version-numbers.yml

This file was deleted.

0 comments on commit 7fdae7e

Please sign in to comment.