-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix comments and add release workflow
- Loading branch information
1 parent
f079766
commit 37be54b
Showing
5 changed files
with
60 additions
and
6 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
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,35 @@ | ||
name: Trigger Satis Build | ||
|
||
on: | ||
release: | ||
types: | ||
- created | ||
|
||
jobs: | ||
webhook: | ||
name: Send Webhook | ||
runs-on: ubuntu-latest | ||
steps: | ||
|
||
- name: Set Package | ||
id: package | ||
env: | ||
REPO: ${{ github.repository }} | ||
run: echo ::set-output name=PACKAGE::${REPO##*/} | ||
|
||
- name: Set Version | ||
id: tag | ||
run: echo ::set-output name=VERSION::${GITHUB_REF##*/} | ||
|
||
- name: Repository Dispatch | ||
uses: peter-evans/repository-dispatch@v1 | ||
with: | ||
token: ${{ secrets.WEBHOOK_TOKEN }} | ||
repository: newfold-labs/satis | ||
event-type: 'satis-build' | ||
client-payload: >- | ||
{ | ||
"vendor": "${{ github.repository_owner }}", | ||
"package": "${{ steps.package.outputs.PACKAGE }}", | ||
"version": "${{ steps.tag.outputs.VERSION }}" | ||
} |
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 |
---|---|---|
@@ -1,2 +1,23 @@ | ||
# wp-module-onboarding-data | ||
<a href="https://newfold.com/" target="_blank"> | ||
<img src="https://newfold.com/content/experience-fragments/newfold/site-header/master/_jcr_content/root/header/logo.coreimg.svg/1621395071423/newfold-digital.svg" alt="Newfold Logo" title="Newfold Digital" align="right" | ||
height="42" /> | ||
</a> | ||
|
||
# WordPress Onboarding Data Module | ||
A non-toggleable module containing a standardized interface for interacting with Onboarding data. | ||
|
||
## Installation | ||
|
||
### 1. Add the Newfold Satis to your `composer.json`. | ||
|
||
```bash | ||
composer config repositories.newfold composer https://newfold.github.io/satis | ||
``` | ||
|
||
### 2. Require the `newfold-labs/wp-module-onboarding-data` package. | ||
|
||
```bash | ||
composer require newfold-labs/wp-module-onboarding-data | ||
``` | ||
|
||
[More on NewFold WordPress Modules](https://github.com/newfold-labs/wp-module-loader) |
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