From e86815d01d46a5e916c3e2e3862e1c3f85560dd2 Mon Sep 17 00:00:00 2001 From: Finn Date: Fri, 2 Aug 2024 12:26:07 +0100 Subject: [PATCH] Check crontab update works in an action --- .../{asset-compilation.yml => deployment-checks.yml} | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) rename .github/workflows/{asset-compilation.yml => deployment-checks.yml} (87%) diff --git a/.github/workflows/asset-compilation.yml b/.github/workflows/deployment-checks.yml similarity index 87% rename from .github/workflows/asset-compilation.yml rename to .github/workflows/deployment-checks.yml index 699a50b27..c52968dea 100644 --- a/.github/workflows/asset-compilation.yml +++ b/.github/workflows/deployment-checks.yml @@ -1,4 +1,4 @@ -name: Asset compilation +name: Deployment checks on: [push, pull_request] @@ -35,3 +35,5 @@ jobs: bundle exec rake db:setup - run: bundle exec rake assets:precompile name: Run asset compilation + - run: bundle exec whenever --update-crontab --set environment="$ENV" + name: Run whenever update