Skip to content

Bump pry from 0.15.0 to 0.15.2 in the ruby group #686

Bump pry from 0.15.0 to 0.15.2 in the ruby group

Bump pry from 0.15.0 to 0.15.2 in the ruby group #686

name: Build And Publish
on:
workflow_dispatch:
schedule:
- cron: '0 1 * * *'
push:
branches:
- main
pull_request:
branches:
- main
# ONLY EVER RUN ONE
concurrency: ${{ github.workflow }}
jobs:
build-and-publish:
runs-on: ubuntu-latest
outputs:
matrix: ${{ steps.matrix.outputs.matrix }}
steps:
- uses: actions/checkout@v4
- uses: ruby/setup-ruby@v1
with:
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
- uses: actions/cache@v4
id: cache-build
with:
path: build/
key: ${{ runner.os }}-build
- name: "Build"
run: |
bundle exec middleman build --verbose
- name: Publish to Cloudflare Pages
id: deploy
uses: cloudflare/pages-action@v1
if: ${{ github.actor != 'dependabot[bot]' }}
with:
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
accountId: ${{secrets.CLOUDFLARE_ACCOUNT_ID }}
projectName: zwift-ical
directory: build
# Optional: Enable this if you want to have GitHub Deployments triggered
gitHubToken: ${{ secrets.GITHUB_TOKEN }}
branch: main