Middleman Github Pages Action
ActionsDeploying your Middleman repo to the gh-pages branch of the same repository
v1.0.0
LatestBy yurikoval
Tags
(2)A GitHub Action for building and deploying a Middleman repo to its gh-pages
branch.
GITHUB_REPOSITORY
: Repo where built website will be published toGITHUB_ACTOR
: Name of the deploy actor (defaults todeploy
)SITE_LOCATION
: Location of your Middleman project within the repo (defaults to project root)REMOTE_BRANCH
: Name of the branch to push the project to (detaults togh-pages
)
Add this to .github/workflows/gh-pages.yml
of your project.
name: Middleman
on:
push:
branches: [master]
jobs:
build_and_deploy:
name: Build & Deploy
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Build & Deploy to GitHub Pages
with:
GITHUB_REPOSITORY: me/my_repo
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
uses: yurikoval/middleman-gh-pages-action@master
Middleman Github Pages Action is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.