Skip to content

Commit 1beb9a9

Browse files
authoredJun 19, 2024
Update CI setup (#30)
1 parent 013a588 commit 1beb9a9

File tree

3 files changed

+11
-14
lines changed

3 files changed

+11
-14
lines changed
 

‎.github/dependabot.yml

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates
2+
version: 2
3+
updates:
4+
- package-ecosystem: "github-actions"
5+
directory: "/" # Location of package manifests
6+
schedule:
7+
interval: "weekly"

‎.github/workflows/Deploy.yml

+3-13
Original file line numberDiff line numberDiff line change
@@ -49,24 +49,14 @@ jobs:
4949
runs-on: ubuntu-latest
5050
permissions: write-all
5151
steps:
52-
- uses: actions/checkout@v3
53-
- uses: julia-actions/cache@v1
54-
- uses: tlienart/xranklin-build-action@v3.8
52+
- uses: actions/checkout@v4
53+
- uses: julia-actions/cache@v2
54+
- uses: tlienart/xranklin-build-action@v5.0.1
5555
with:
56-
# NOTE: this is the Xranklin branch the site is built with
57-
BRANCH: "dev"
5856
# NOTE: this is the base URL prefix (landing page at /$BASE_URL_PREFIX/)
5957
BASE_URL_PREFIX: ""
6058
# Whether to deploy the website or not. Can do only for PRs opened
6159
# from the same repository.
6260
DEPLOY: ${{ needs.options.outputs.deploy }}
6361
# Directory where to deploy the website.
6462
PREVIEW: ${{ needs.options.outputs.preview }}
65-
66-
# ===================================================================
67-
# DON'T CHANGE THE FOLLOWING UNLESS YOU HAVE GOOD REASONS TO
68-
# >> amounts to build(clear=true) when commit message contains [clear]
69-
CLEAR_CACHE: ${{ contains(github.event.head_commit.message, '[clear]') }}
70-
# >> change the digit at the end if, for some reason, you believe
71-
# that the cache used by the github action has an issue
72-
CACHE_KEY: "franklin-cache"

‎.github/workflows/PreviewCleanup.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
runs-on: ubuntu-latest
1010
steps:
1111
- name: Checkout gh-pages branch
12-
uses: actions/checkout@v3
12+
uses: actions/checkout@v4
1313
with:
1414
ref: gh-pages
1515
- name: Delete preview and history + push changes

0 commit comments

Comments
 (0)