Create github-pages.yml #1
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: South Region Reusable Assets | |
on: | |
push: | |
branches: [ gh-pages ] | |
jobs: | |
build-deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: 2.7.2 # Not needed with a .ruby-version file | |
bundler-cache: true | |
- run: bundle exec jekyll build | |
- name: Deploy site | |
with: | |
build-dir: _site | |
uses: MSUSAzureAccelerators/SouthReusableAssets/deploy_jamstack_action@gh-pages |