From b988dc799693c27637d0801bfc7d611040a2af3d Mon Sep 17 00:00:00 2001 From: Erasmus Cedernaes Date: Thu, 28 Mar 2024 17:01:00 +0000 Subject: [PATCH] Remove schedule If not run for a while GH auto-disables the workflow --- .github/workflows/check-links.yml | 2 -- .github/workflows/deploy-jekyll.yml | 6 +++--- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/.github/workflows/check-links.yml b/.github/workflows/check-links.yml index bb0865c..17c80e0 100644 --- a/.github/workflows/check-links.yml +++ b/.github/workflows/check-links.yml @@ -4,8 +4,6 @@ on: push: branches: - '*' - schedule: - - cron: '12 0 * * 0' # Run every sunday at 12:00 env: BUILD_DIR: .build diff --git a/.github/workflows/deploy-jekyll.yml b/.github/workflows/deploy-jekyll.yml index 78b5be2..10e1efb 100644 --- a/.github/workflows/deploy-jekyll.yml +++ b/.github/workflows/deploy-jekyll.yml @@ -15,11 +15,11 @@ jobs: # Steps represent a sequence of tasks that will be executed as part of the job steps: # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 with: fetch-depth: 0 - name: Set up Ruby - uses: actions/setup-ruby@v1 + uses: ruby/setup-ruby@v1 with: ruby-version: 2.6 - name: Cache bundler dependencies @@ -41,7 +41,7 @@ jobs: - name: Build site run: | make gh-pages - - name: + - name: run: | cd ${BUILD_DIR} git init