Skip to content

saurabhdaware/abell-pages-action

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Repository files navigation

Abell Pages GitHub Action

EXPERIMENTAL!

Deploy a documentation site for your repository.

Installation

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

Deployment

Deploying to GitHub Pages

In Repository Settings -> GitHub Pages, set source branch to gh-pages and directory to /docs.

Deploying to Netlify/Other Platforms

Set publish branch to gh-pages and publish directory to /docs

Detailed Usage

Inputs

site-path

Required Path of the site layout, or layout repository.

GitHub Repository URL | path to folder.

deploy-branch

Branch to deploy from. Shoud be same as the branch that triggers this action in on: push:


Thanks!

About

Just playing around GitHub Actions

Resources

License

Stars

Watchers

Forks

Packages

No packages published