-
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.
* Adds phpcs.xml and phpcs to composer * Update composer.lock * PHPCS * Set failed request order status correct even if plugin settings never have been saved * PHPCS * Use update_meta_data instead of update_meta * Create deploy.yml * Add .distignore + update deployment script to include build functionality * Update .distignore * PHPCS * Version update (1.5.1) --------- Co-authored-by: MichaelBengtsson <[email protected]>
- Loading branch information
1 parent
036d8af
commit d4949d1
Showing
10 changed files
with
789 additions
and
180 deletions.
There are no files selected for viewing
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,32 @@ | ||
/.wordpress-org | ||
/.git | ||
/.github | ||
/node_modules | ||
/tests | ||
/languages/*-backup-* | ||
/.vscode | ||
.editorconfig | ||
.distignore | ||
.gitignore | ||
Dockerfile-cron | ||
Dockerfile-wpdebug-php7 | ||
Dockerfile-wpdebug-php8 | ||
DOCKER_ENV | ||
docker_tag | ||
output.log | ||
readme.md | ||
README.md | ||
gulpfile.js | ||
package.json | ||
package-lock.json | ||
docker-compose.phpunit.yml | ||
docker-compose.yml | ||
Dockerfile | ||
readme.dev.txt | ||
README.md | ||
phpcs.ruleset.xml | ||
phpunit-docker.xml | ||
phpunit.xml | ||
phpcs.xml | ||
renovate.json | ||
wpcron.txt |
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,29 @@ | ||
name: Build and deploy to WordPress.org | ||
on: | ||
release: | ||
types: [published] | ||
jobs: | ||
tag: | ||
name: New tag | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@main | ||
|
||
# Install all composer dependencies for the plugin. | ||
- name: Install Composer dependencies | ||
uses: php-actions/composer@v6 | ||
with: | ||
dev: no | ||
php_version: 7.4 | ||
|
||
# Deploy the plugin to WordPress.org | ||
- name: WordPress Plugin Deploy | ||
id: deploy | ||
uses: 10up/action-wordpress-plugin-deploy@stable | ||
with: | ||
generate-zip: true | ||
env: | ||
SVN_PASSWORD: ${{ secrets.SVN_PASSWORD }} | ||
SVN_USERNAME: ${{ secrets.SVN_USERNAME }} | ||
SLUG: ledyer-order-management-for-woocommerce |
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
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
Oops, something went wrong.