From 3f71ea7454dbc6d5e2b8642ff0179e6b15a09844 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mateusz=20Ma=C4=87kowski?= Date: Wed, 3 Jan 2024 16:58:14 +0000 Subject: [PATCH] ci: run for PRs; update Gemfile.lock --- .github/dependabot.yml | 22 +++++++++++++++++++--- .github/workflows/gh-pages.yml | 2 ++ Dockerfile | 2 +- 3 files changed, 22 insertions(+), 4 deletions(-) diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 67dd4c2d..997b5672 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -3,12 +3,28 @@ updates: - package-ecosystem: "github-actions" directory: "/" schedule: - interval: "weekly" + interval: "monthly" + groups: + dependencies: + patterns: + - "*" + - package-ecosystem: "bundler" directory: "/" schedule: - interval: "weekly" + interval: "monthly" + groups: + dependencies: + update-types: + - "minor" + - "patch" + - package-ecosystem: "docker" directory: "/" schedule: - interval: "weekly" + interval: "monthly" + groups: + dependencies: + update-types: + - "minor" + - "patch" diff --git a/.github/workflows/gh-pages.yml b/.github/workflows/gh-pages.yml index 3ae5904c..8ef98e5a 100644 --- a/.github/workflows/gh-pages.yml +++ b/.github/workflows/gh-pages.yml @@ -5,6 +5,7 @@ on: push: branches: - master + pull_request: jobs: github-pages: @@ -21,6 +22,7 @@ jobs: docker rm -v $id - name: Deploy uses: peaceiris/actions-gh-pages@v3 + if: github.ref == 'refs/heads/master' with: github_token: ${{ secrets.GHTOKEN }} publish_dir: ./__build diff --git a/Dockerfile b/Dockerfile index d70127f8..6abbc58e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM ruby:3.3-bullseye AS build +FROM ruby:3.2-bullseye AS build WORKDIR /srv/jekyll COPY Gemfile Gemfile.lock /srv/jekyll/