Skip to content

Merge pull request #506 from metal3-io/dependabot/github_actions/sour… #1374

Merge pull request #506 from metal3-io/dependabot/github_actions/sour…

Merge pull request #506 from metal3-io/dependabot/github_actions/sour… #1374

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@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- uses: actions/cache@6849a6489940f00c2f30c0fb92c6274307ccb58a # v4.1.2
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