Skip to content

Instantly share code, notes, and snippets.

@murilogteixeira
Created July 12, 2020 00:45
Show Gist options
  • Save murilogteixeira/156b818137faeb5b555f451cb2ab6f56 to your computer and use it in GitHub Desktop.
Save murilogteixeira/156b818137faeb5b555f451cb2ab6f56 to your computer and use it in GitHub Desktop.
Settings file to deploy Publish project
name: Publish
on:
push:
branches: [ master ]
jobs:
build:
runs-on: macOS-latest
steps:
- uses: actions/checkout@v2
- name: Build Publish
run: |
git clone https://github.com/JohnSundell/Publish.git
cd Publish
make
- name: Generate Site
run: publish generate
- name: Publish in github pages repo
uses: crazy-max/[email protected]
with:
repo: murilogteixeira/MuriloWebsite
target_branch: gh-pages
keep_history: true
allow_empty_commit: false
build_dir: Output
committer_name: Murilo Teixeira
commit_message: Update blog content
env:
GITHUB_PAT: ${{ secrets.REPO_TOKEN }}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment