EXPERIMENTAL!
Deploy a documentation site for your repository.
In .github/workflows/abell-deploy.yml
, Add this content.
on:
push:
branches: [master]
jobs:
abell-deploy:
runs-on: ubuntu-latest
name: Abell Website Deployment
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Abell Pages Action
id: abell-pages
uses: saurabhdaware/[email protected]
with:
site-path: 'https://github.com/saurabhdaware/abell-readme-layout'
deploy-branch: 'master' # branch to deploy from, should be same as on push branch
In Repository Settings -> GitHub Pages, set source branch to gh-pages
and directory to /docs
.
Set publish branch to gh-pages
and publish directory to /docs
Required Path of the site layout, or layout repository.
GitHub Repository URL | path to folder.
Branch to deploy from. Shoud be same as the branch that triggers this action in on: push:
Thanks!