Skip to content
A base repository structure for rtCamp's WordPress sites, pre-configured to use Github Actions
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github
mu-plugins
plugins
themes
.gitignore
README.md Update README.md Mar 26, 2019
phpcs.xml

README.md

WordPress Skeleton

This repo is used as a base for setting up CI/CD using GitHub Actions for new or existing projects. It uses rtCamp's GitHub Actions Library.

.github folder in the repository contains the main CI/CD scripts.

Usage

  1. Setup your repo according to the skeleton strucutre of this repo. In case of fresh projects, you can start with a direct clone of this repo. For existing projects you can take the .github folder manually.
git clone --depth=1 git@github.com:rtCamp/github-actions-wordpress-skeleton.git
  1. Push your local repo to GitHub.
  2. Update hosts.yml file to map GitHub branches to different server environment. Only the branches specified in hosts.yml will be deployed, rest will be filtered out.
  3. Create GitHub Secrets for each GitHub Action you are planning to use.
You can’t perform that action at this time.