Skip to content

nchaulet/github-action-gh-pages

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 

Repository files navigation

nchaulet/github-action-gh-pages

Description

simple github action to deploy on github pages

Configuration

You need to provide the following varaibles: GITHUB_TOKEN: github token PUBLIC_PATH: the directory you want to publish (optionnal)

Example Workflow

workflow "Build and deploy" {
  on = "push"
  resolves = ["nchaulet/github-action-gh-pages@master"]
}

action "GitHub Action for npm" {
  uses = "actions/npm@e7aaefe"
  args = "install"
}

action "Deploy" {
  uses = "actions/npm@e7aaefe"
  needs = ["GitHub Action for npm"]
  args = "run build"
}

action "nchaulet/github-action-gh-pages@master" {
  uses = "nchaulet/github-action-gh-pages@master"
  needs = ["Deploy"]
  secrets = [
    "GITHUB_TOKEN"
  ]
}

About

Github action to deploy a directory on github pages

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published