-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #46 from pluginever/release/2.0.4
release/2.0.4
- Loading branch information
Showing
20 changed files
with
97 additions
and
469 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
name: "Build and Release plugin" | ||
on: | ||
release: | ||
types: [published] | ||
|
||
jobs: | ||
release: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v4 | ||
|
||
- name: Setup PHP version | ||
uses: shivammathur/setup-php@v2 | ||
with: | ||
php-version: 8.0 | ||
coverage: none | ||
tools: composer | ||
|
||
- name: Setup github token | ||
run: composer config -g github-oauth.github.com ${{ secrets.ACCESS_TOKEN }} | ||
|
||
- name: Build | ||
run: | | ||
npm install && npm run build | ||
- name: Release | ||
id: release | ||
uses: sultann/wordpress-plugin-deploy@master | ||
with: | ||
username: ${{ secrets.SVN_USERNAME }} | ||
password: ${{ secrets.SVN_PASSWORD }} | ||
slack_webhook: ${{ secrets.SLACK_WEBHOOK }} |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.