Skip to content

Commit

Permalink
Merge pull request #46 from pluginever/release/2.0.4
Browse files Browse the repository at this point in the history
release/2.0.4
  • Loading branch information
devsabbirhossain authored Aug 25, 2024
2 parents 5eeb936 + 8b624d2 commit dd196ea
Show file tree
Hide file tree
Showing 20 changed files with 97 additions and 469 deletions.
9 changes: 0 additions & 9 deletions .babelrc

This file was deleted.

12 changes: 0 additions & 12 deletions .gitattributes

This file was deleted.

38 changes: 0 additions & 38 deletions .github/ISSUE_TEMPLATE/bug_report.md

This file was deleted.

20 changes: 0 additions & 20 deletions .github/ISSUE_TEMPLATE/feature_request.md

This file was deleted.

31 changes: 0 additions & 31 deletions .github/workflows/plugin-deploy.yml

This file was deleted.

33 changes: 33 additions & 0 deletions .github/workflows/release.yml
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 }}
27 changes: 0 additions & 27 deletions .jshintrc

This file was deleted.

58 changes: 0 additions & 58 deletions .stylelintrc

This file was deleted.

Loading

0 comments on commit dd196ea

Please sign in to comment.