Merge pull request #47 from newptcai/patch-1 #130
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Publish Site | |
on: | |
push: | |
branches: | |
- main | |
paths-ignore: | |
- 'README.md' | |
- 'CONTRIBUTING.md' | |
- 'LICENSE' | |
- 'package*.json' | |
jobs: | |
publish: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
submodules: recursive | |
- name: Build website | |
env: | |
NODE_PATH: /usr/lib/node_modules | |
HUGO_ENV: production | |
uses: jakejarvis/[email protected] | |
with: | |
args: --minify | |
- name: Deploy to GitHub Pages | |
uses: Cecilapp/GitHub-Pages-deploy@v3 | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
with: | |
build_dir: public | |
branch: gh-pages | |
cname: regolith-desktop.com |