From 1ef52034c0b0475f56afa5ad3ee542d9ccb1427b Mon Sep 17 00:00:00 2001 From: tssmith7 Date: Sat, 18 Nov 2023 21:26:46 -0800 Subject: [PATCH] Workflow fixes --- .github/workflows/jekyll.yml | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/.github/workflows/jekyll.yml b/.github/workflows/jekyll.yml index 40551e7..506a35e 100644 --- a/.github/workflows/jekyll.yml +++ b/.github/workflows/jekyll.yml @@ -38,12 +38,6 @@ 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 @@ -51,6 +45,12 @@ jobs: 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 @@ -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: