Skip to content

Commit

Permalink
chore: config action ids
Browse files Browse the repository at this point in the history
  • Loading branch information
mwfarb committed Jun 20, 2024
1 parent 9fc54d8 commit 68a1c9e
Showing 1 changed file with 19 additions and 10 deletions.
29 changes: 19 additions & 10 deletions .github/workflows/github-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,28 +13,37 @@ permissions:
id-token: write

jobs:
github-pages:

build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: ruby/setup-ruby@v1
- name: Checkout
uses: actions/checkout@v4
- name: Setup Ruby
uses: ruby/setup-ruby@1
with:
ruby-version: '3.4'
ruby-version: 3.4
bundler-cache: true
- uses: actions/configure-pages@v5
- name: Setup Pages
id: pages
- run: bundle exec jekyll build --baseurl "${{ steps.pages.outputs.base_path }}"
- uses: actions/upload-pages-artifact@v3
uses: actions/configure-pages@v5
- name: Build with Jekyll
run: bundle exec jekyll build --baseurl "${{ steps.pages.outputs.base_path }}"
env:
JEKYLL_ENV: production
- name: Upload artifact
uses: actions/upload-pages-artifact@v3

deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
needs: github-pages
needs: build
steps:
- uses: actions/deploy-pages@v4
id: deployment
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4

# html-link-check:
# needs: deploy
Expand Down

0 comments on commit 68a1c9e

Please sign in to comment.