Skip to content

Merge pull request #167 from mtgbl/j3mdamas-patch-1 #408

Merge pull request #167 from mtgbl/j3mdamas-patch-1

Merge pull request #167 from mtgbl/j3mdamas-patch-1 #408

Workflow file for this run

name: Build page
on:
push:
schedule:
- cron: '0 23 * * 5' # At 23:00 on Friday
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: ruby/setup-ruby@v1
with:
ruby-version: '3.2'
bundler-cache: true
- name: Build
run: bundle exec jekyll build
- name: Upload pages artifact
uses: actions/upload-pages-artifact@v3
if: github.ref == 'refs/heads/main'
with:
path: _site/
deploy:
runs-on: ubuntu-latest
if: github.ref == 'refs/heads/main'
needs: build
permissions:
pages: write
id-token: write
actions: read
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4