Split PkgTemplates code blocks (#126) #178
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: Build and Deploy | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
jobs: | |
docs: | |
runs-on: ubuntu-latest | |
permissions: write-all | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set git user config | |
run: | | |
git config --global user.name "myusername" | |
git config --global user.email "myusername@modernjuliaworkflows.github" | |
- name: 🚀 Build and Deploy | |
uses: tlienart/xranklin-build-action@main | |
with: | |
DEPLOY: ${{ github.event_name == 'push' }} | |
DEPLOY_BRANCH: 'gh-pages' |