Skip to content

kayahr/deploy-github-pages-action

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Deploy Github Pages

This is a composite Github action combining the following steps into one, so the whole deployment step can be made conditional with a single if statement:

Usage

This step deploys the files in the doc folder, but only if branch is main:

steps:
  - name: Deploy Github Pages
    if: github.ref == 'refs/heads/main'
    uses: kayahr/deploy-github-pages-action@v4
    with:
      path: doc

About

Github Action: Deploy Github Pages

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors