https://github.com/getshifter/shifter-cd-demo
https://github.com/getshifter/shifter-cd-demo
Last synced: 12 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/getshifter/shifter-cd-demo
- Owner: getshifter
- Created: 2019-07-23T21:16:25.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2023-01-09T22:22:59.000Z (over 3 years ago)
- Last Synced: 2025-03-28T00:28:21.100Z (about 1 year ago)
- Language: JavaScript
- Homepage:
- Size: 146 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 10
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Shifter Continuous Delivery Demo
Work in progress.
### Serverless
Deploy serverless function to AWS to get your API Gateway URL.
```
sls deploy
```
### Initial Setup
1. Install WP Pusher
2. Add plugin or theme to WP Pusher
3. Activate push-to-deploy
4. Get deploy URL from WP Pusher settings
5. Create and add Webhook URL to GitHub
6. Get Site ID from Shifter Dashboard
More info:
- [GitHub Webhooks and Push-to-Deploy](https://docs.wppusher.com/article/20-github-webhooks-and-push-to-deploy)
### Creating Webhook URL to GitHub
#### Example Params:
- WP Pusher Full URL: `https://123-456.app.getshifter.io:123/?wppusher-hook&token=123&package=abc==`
- WP Pusher Package: `123`
- WP Pusher Token: `abc==`
- Site ID: `abc123`
- Username: `example`
- Password: `password`
#### URL Example for GitHub:
```
https://lambda_url_example.amazonaws.com/dev/?site_id="abc123"&username="example"&password="password"&token="abc=="&package="123"
```