Skip to content

chore(deps): bump actions/upload-pages-artifact from 2 to 3 (#31) #47

chore(deps): bump actions/upload-pages-artifact from 2 to 3 (#31)

chore(deps): bump actions/upload-pages-artifact from 2 to 3 (#31) #47

Workflow file for this run

---
# Based on https:/actions/starter-workflows/blob/main/pages/jekyll.yml
name: Build
on:
# Runs on pushes targeting the main branch
push:
branches:
- main
# Allows you to run workflow manually from the actions tab
workflow_dispatch:
# Sets permissions of the GITHUB_TOKEN to allow deployment of GitHub Pages
permissions:
contents: read
pages: write
id-token: write
# Allow one concurrent deployment
concurrency:
group: "pages"
cancel-in-progress: true
jobs:
# Build job
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Ruby
uses: ruby/setup-ruby@v1
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 cache gems
- name: Setup Pages
id: pages
uses: actions/configure-pages@v4
- name: Build with Jekyll
# Outputs to the '/_site' directory
run: bundle exec jekyll build --baseurl "${{ steps.pages.outputs.base_path }}"
env:
JEKYLL_ENV: production
- name: Upload Artifact
# Automatically uploads an artifact from the '/_site' directory
uses: actions/upload-pages-artifact@v3
# Deployment job
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
needs: build
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v3