Skip to content

Deploy via Jekyll on GitHub pages #1351

Deploy via Jekyll on GitHub pages

Deploy via Jekyll on GitHub pages #1351

Workflow file for this run

name: Deploy via Jekyll on GitHub pages
on:
push:
branches:
- source
schedule:
- cron: '0 0 * * *'
# TODO: permissions defined
jobs:
jekyll:
runs-on: ubuntu-latest
if: github.repository == 'metal3-io/metal3-io.github.io'
steps:
- uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
- uses: actions/cache@2cdf405574d6ef1f33a1d12acccd3ae82f47b3f2 # v4.1.0
with:
path: vendor/bundle
key: ${{ runner.os }}-gems-${{ hashFiles('**/Gemfile.lock') }}
restore-keys: |
${{ runner.os }}-gems-
- uses: iranzo/gh-pages-jekyll-action@d27999d323a83e1989f4b62f5176f0b4736066d3 # 1.0.2
env:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
SOURCE_FOLDER: ./
GH_PAGES_BRANCH: master