Specify Action Tests GitHub Pages Build Capability in README.md (#10) #58
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: Automated Validation | |
on: [push] | |
jobs: | |
Sample-Run-of-Jekyll-Deploy-Test-Action: | |
runs-on: ubuntu-latest | |
name: This job tests the functionality of the Jekyll Deploy Test Action. | |
steps: | |
- name: Checkout Repository | |
uses: actions/checkout@v3 | |
- name: Jekyll Deploy Test | |
uses: PaulRosenthal/Jekyll-Deploy-Test-Action@v2 | |
with: | |
gemfile-location: '/sample-jekyll-website' | |
site-directory: '/sample-jekyll-website' | |
- name: Upload _site Directory From Test Build | |
uses: actions/upload-artifact@v3.1.0 | |
with: | |
name: test_build | |
path: sample-jekyll-website/_site |