Skip to content

NovaGaia/poc-gatsby-git-hub-pages

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Gatsby

Gatsby minimal starter

Gatsby Publish

🚀 Quick start | Auto publish w/ GitHub Actions to GitHub Pages

name: Gatsby Publish

on:
  push:
    branches:
      - main

jobs:
  build:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v1
      - uses: enriikke/gatsby-gh-pages-action@v2
        with:
          access-token: ${{ secrets.ACCESS_TOKEN }}
          deploy-branch: gh-pages
          gatsby-args: --prefix-paths
  • in you GitHub repo, set repo as public.
  • go to repo Settings>Pages and enabled Deploy from a branch and
    • set gh-pages as `branch
    • set /(root) as folder
    • click save

Make your commit/push.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published