-
Notifications
You must be signed in to change notification settings - Fork 11
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 #41 from hamusthekiller/WordpressDeployAction
Add: Wordpress Deploy Action
- Loading branch information
Showing
10 changed files
with
47 additions
and
0 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,28 @@ | ||
name: Deploy to WordPress.org | ||
on: | ||
release: | ||
types: [published] | ||
jobs: | ||
tag: | ||
name: New release | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@master | ||
- name: WordPress Plugin Deploy | ||
id: deploy | ||
uses: 10up/action-wordpress-plugin-deploy@stable | ||
with: | ||
generate-zip: true | ||
env: | ||
SVN_USERNAME: ${{ secrets.WPORG_SVN_USERNAME }} | ||
SVN_PASSWORD: ${{ secrets.WPORG_SVN_PASSWORD }} | ||
- name: Upload release asset | ||
uses: actions/upload-release-asset@v1 | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.RELEASE_GITHUB_TOKEN }} | ||
with: | ||
upload_url: ${{ github.event.release.upload_url }} | ||
asset_path: ${{github.workspace}}/${{ github.event.repository.name }}.zip | ||
asset_name: ${{ github.event.repository.name }}.zip | ||
asset_content_type: application/zip |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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,19 @@ | ||
<p align="center"><a href="https://www.knawat.com/?utm_source=github.com&utm_medium=social&utm_campaign=Image%20by%20URL"><img src="https://knawat.com/wp-content/uploads/2017/10/253_77.png" alt="Knawat"></a></p> | ||
|
||
[![Join the chat at https://gitter.im/Knawat/Lobby](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/Knawat/Lobby) | ||
|
||
## Description | ||
Welcome to the Knawat Featured Image by URL Plugin repository on GitHub. Here you can browse the source, look at open issues and keep track of development. | ||
|
||
If you are not a developer, please use the [Knawat plugin page](https://wordpress.org/plugins/featured-image-by-url/) on WordPress.org. | ||
|
||
## Deployment | ||
We use [10up/action-wordpress-plugin-deploy](https://github.com/10up/action-wordpress-plugin-deploy) Github Action for auto deployment to WordPress. | ||
|
||
## Contributing to Knawat | ||
If you have a patch or have stumbled upon an issue with Knawat WooCommerce plugin core, you can contribute this back to the code. Please create a pull request. | ||
|
||
## Check also | ||
* [WooCommerce Dropshipping Plugin](https://wordpress.org/plugins/dropshipping-woocommerce/) | ||
* [Magento 2 Module](https://marketplace.magento.com/knawat-module-dropshipping.html) | ||
* [OpenCart Module](https://www.opencart.com/index.php?route=marketplace/extension/info&extension_id=36071&filter_search=knawat) |