An open source collection of Linchpin's configs. Primarily used for Renovate bot and shared workflows. While there are some aspects of this repo that are specific to Linchpin and our build process. Other organizations can take advantage of them want to use them.
Below are resuable/shared workflows. In the coming weeks we will be adding some examples on how to utilize these workflows. They are relative straight forward so if you are used to actions and workflows you can use these as a starting point
File | Status | Requirements | description |
---|---|---|---|
create-release.yml | Create release workflow. Downloads all assets, and runs through the build process creating a single zip. Typically used during a tagged release | ||
deploy-wpengine.yml | SSH Access, SSH Key Pair | Deploy to a WP Engine platform based environment | |
deploy-cloudways.yml | SSH Access, SSH Key Pair | Deploy to a Cloudways platform environment | |
phpcs.yml | Scan for WordPress Coding standards based on the phpcs.xml config of the project |
Within your projects .github/workflows folder
name: Create Release
on:
push:
tags:
- 'v*' # Push events to matching v*, i.e. v1.0, v20.15.10
jobs:
create_release:
name: Create Release
uses: linchpin/actions/.github/workflows/create-release.yml@main
with:
themes: '["my-wordpress-theme"]'
secrets:
packagist_auth: ${{ secrets.custom_packagist_auth_key }}
File | description |
---|---|
global.json | Shared global config for renovatebot |
wordpress.json | Shared config for renovatebot for WordPress installs. |
js.json | Shared config for javascript projects (gulp builds, etc ) |
Make deployments faster/more automated. Especially when using Smart Plugin Manager, Autopilot, Cloudways Plugin Updates
File | Description |
---|---|
remote-plugin-install | A bash script to load plugins via the WP CLI including a remote satispress packagist |
| [remmote-plugin-install]
File | Description |
---|---|
default.distignore | Default .distignore be loaded during deployment (and renamed to .distignore) if no .distignore is provided within your proejct |