Created
July 12, 2020 00:45
-
-
Save murilogteixeira/156b818137faeb5b555f451cb2ab6f56 to your computer and use it in GitHub Desktop.
Settings file to deploy Publish project
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 | |
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