Allow triggering demo-site builds manually #22
This file contains hidden or 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 Demo Site | |
on: | |
push: | |
branches: | |
- master | |
- demo-site | |
# Run this workflow manually from the Actions tab | |
workflow_dispatch: | |
jobs: | |
deploy_demo_site: | |
runs-on: "ubuntu-latest" | |
env: | |
BUNDLE_JOBS: 4 | |
BUNDLE_RETRY: 3 | |
steps: | |
- name: Build and Deploy Demo Site | |
uses: ashmaroli/deploy-jekyll-build@ruby-ver | |
with: | |
ruby_version: 2.7 | |
cache_bundle: true | |
build_opts: | | |
verbose: true | |
profile: true |