Skip to content

updates 1.10 sha256 #261

updates 1.10 sha256

updates 1.10 sha256 #261

Workflow file for this run

name: Build and Deploy to Pages
on:
# Runs once a day (Disabled)
# schedule:
# - cron: "0 0 * * *"
# Runs on pushes and prs targeting the default branch
push:
branches: ["main"]
pull_request:
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
permissions:
contents: read
pages: write
id-token: write
# Allow one concurrent deployment
concurrency:
group: "pages"
cancel-in-progress: true
jobs:
# Update job
# update:
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v3
# with:
# fetch-depth: 0 # otherwise, there would be errors pushing refs to the destination repository.
# - name: Set up Python
# uses: actions/setup-python@v4
# with:
# python-version: '3.10.x'
# - name: Install packages
# run: |
# pip install altparse
# - name: Run python scripts
# run: |
# python update.py
# - name: Git add and commit
# uses: EndBug/[email protected]
# with:
# add: '_includes/source.json'
# author_name: 'LitRitt'
# author_email: '[email protected]'
# Build job
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup Ruby
uses: ruby/[email protected]
with:
ruby-version: "3.0" # 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/[email protected]
- name: Build with Jekyll
# Outputs to the './_site' directory by default
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 by default
uses: actions/[email protected]
# 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/[email protected]