Skip to content

saurabhdaware/use-github-action

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

50 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Abell Page Action

Example of using Abell Pages Action (Experimental)

Demo: https://saurabhdaware.github.io/use-github-action

Host your GitHub Page with Abell Pages Action

  • Create .github/workflows/abell-deploy.yml with content
on:
  push:
    branches: [master] # branch to trigger deploy, mostly default branch

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/abell-pages-action@v0.10.0
      with:
        site-path: 'https://github.com/saurabhdaware/abell-readme-layout'
        deploy-branch: 'master' # branch to deploy from, mostly default branch
  • In Repository Settings -> GitHub Pages, set source branch to gh-pages and directory to /docs.
  • Tadaa 🎉 Your website will be hosted on https://<your-github-username>.github.io/<repository-name>

For reference, you can look into .github/workflows/abell-deploy.yml

Thanks!

About

Example of using the github action that I created

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published