Skip to content

Commit 778ef87

Browse files
committed
Update CI workflow to use current action versions
- actions/checkout@v2 → v4 - actions/setup-python@v2 → v5 - julia-actions/setup-julia@v1 → v2 - JamesIves/github-pages-deploy-action@releases/v3 → v4 - Julia 1.5 → 1.10 - Python 3.8 → 3.11 - GITHUB_TOKEN → token (v4 syntax) Previous workflow was stuck in queue, likely due to deprecated actions. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
1 parent 774bffa commit 778ef87

File tree

1 file changed

+9
-21
lines changed

1 file changed

+9
-21
lines changed

.github/workflows/deploy.yml

Lines changed: 9 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -9,38 +9,26 @@ jobs:
99
runs-on: ubuntu-latest
1010
steps:
1111
- name: Checkout
12-
uses: actions/checkout@v2
12+
uses: actions/checkout@v4
1313
with:
1414
persist-credentials: false
15-
# NOTE: Python is necessary for the pre-rendering (minification) step
1615
- name: Install python
17-
uses: actions/setup-python@v2
16+
uses: actions/setup-python@v5
1817
with:
19-
python-version: '3.8'
20-
# NOTE: Here you can install dependencies such as matplotlib if you use
21-
# packages such as PyPlot.
22-
# - run: pip install matplotlib
18+
python-version: '3.11'
2319
- name: Install Julia
24-
uses: julia-actions/setup-julia@v1
20+
uses: julia-actions/setup-julia@v2
2521
with:
26-
version: 1.5
27-
# NOTE
28-
# The steps below ensure that NodeJS and Franklin are loaded then it
29-
# installs highlight.js which is needed for the prerendering step
30-
# (code highlighting + katex prerendering).
31-
# Then the environment is activated and instantiated to install all
32-
# Julia packages which may be required to successfully build your site.
33-
# The last line should be `optimize()` though you may want to give it
34-
# specific arguments, see the documentation or ?optimize in the REPL.
22+
version: '1.10'
3523
- run: julia -e '
3624
using Pkg; Pkg.add(["NodeJS", "Franklin"]);
3725
using NodeJS; run(`$(npm_cmd()) install highlight.js`);
3826
using Franklin;
3927
Pkg.activate("."); Pkg.instantiate();
4028
optimize()'
4129
- name: Build and Deploy
42-
uses: JamesIves/github-pages-deploy-action@releases/v3
30+
uses: JamesIves/github-pages-deploy-action@v4
4331
with:
44-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
45-
BRANCH: gh-pages
46-
FOLDER: __site
32+
token: ${{ secrets.GITHUB_TOKEN }}
33+
branch: gh-pages
34+
folder: __site

0 commit comments

Comments
 (0)