Skip to content

Commit

Permalink
Workflow fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
tssmith7 committed Nov 19, 2023
1 parent e7b7d3c commit 1ef5203
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions .github/workflows/jekyll.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,19 +38,19 @@ jobs:
path: vendor/bundle
key: ${{ runner.os }}-gems-${{ hashFiles('**/Gemfile') }}
restore-keys: ${{ runner.os }}-gems-
- name: Setup Ruby
uses: ruby/setup-ruby@55283cc23133118229fd3f97f9336ee23a179fcf # v1.146.0
with:
ruby-version: '3.1' # Not needed with a .ruby-version file
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
cache-version: 0 # Increment this number if you need to re-download cached gems
# Convert AsciiDoc to HTML
- name: Converting AsciiDoc to HTML
uses: helaili/jekyll-action@v2
with:
target_branch: 'gh-pages'
pre_build_commands: gem update --system
token: ${{ secrets.GITHUB_TOKEN }}
- name: Setup Ruby
uses: ruby/setup-ruby@55283cc23133118229fd3f97f9336ee23a179fcf # v1.146.0
with:
ruby-version: '3.1' # Not needed with a .ruby-version file
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
cache-version: 0 # Increment this number if you need to re-download cached gems
- name: Setup Pages
id: pages
uses: actions/configure-pages@v3
Expand All @@ -62,7 +62,9 @@ jobs:
- name: Upload artifact
# Automatically uploads an artifact from the './_site' directory by default
uses: actions/upload-pages-artifact@v2

- name: Rename README.html -> index.html
run: mv README.html index.html

# Deployment job
deploy:
environment:
Expand Down

0 comments on commit 1ef5203

Please sign in to comment.