Skip to content

Commit c6abc47

Browse files
committed
chore: Bump GHA actions
+ Clean config file with const variables
1 parent 09b23bd commit c6abc47

2 files changed

Lines changed: 10 additions & 9 deletions

File tree

.github/workflows/github-travis.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
runs-on: ubuntu-latest
1818

1919
steps:
20-
- uses: actions/checkout@v2
20+
- uses: actions/checkout@latest
2121

2222
- name: Prepare git
2323
run: |
@@ -32,7 +32,7 @@ jobs:
3232
password: ${{ secrets.BOT_TOKEN}}
3333

3434
- name: Set up Python
35-
uses: actions/setup-python@v3
35+
uses: actions/setup-python@latest
3636
with:
3737
python-version: '3.10'
3838
architecture: x64
@@ -73,7 +73,7 @@ jobs:
7373
# COMPILATION
7474
#
7575

76-
- uses: actions/setup-node@v3
76+
- uses: actions/setup-node@latest
7777
with:
7878
node-version: 'current'
7979

@@ -90,7 +90,7 @@ jobs:
9090
# Popular action to deploy to GitHub Pages:
9191
# Docs: https://github.com/peaceiris/actions-gh-pages#%EF%B8%8F-docusaurus
9292
- name: Deploy to GitHub Pages
93-
uses: peaceiris/actions-gh-pages@v3
93+
uses: peaceiris/actions-gh-pages@v4
9494
with:
9595
github_token: ${{ secrets.GITHUB_TOKEN }}
9696
publish_branch: master

website/docusaurus.config.js

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
const latestVersion = "2025-06";
1+
const LATEST_VERSION = "2025-06";
2+
const DOWNLOAD_VERSION = "2025.06.4"
23

34
module.exports = {
45
// Main website options
@@ -25,13 +26,13 @@ module.exports = {
2526
customFields: {
2627
footerIcon: "img/gama-logo.png",
2728
docsUrl: "wiki",
28-
zipName: "GAMA_2025.06.4", // zipName: "GAMA_" + latestVersion,
29-
downloadVersion: "2025.06.4", // downloadVersion: latestVersion,
29+
zipName: "GAMA_" + DOWNLOAD_VERSION,
30+
downloadVersion: DOWNLOAD_VERSION,
3031
facebookAppId: 524881055001796,
3132
frontPagePresentation:
3233
"GAMA is a modeling and simulation development environment for building spatially explicit agent-based simulations.",
3334
frontPageImgLink: "release",
34-
latestVersion: latestVersion,
35+
latestVersion: LATEST_VERSION,
3536
},
3637

3738
/*
@@ -52,7 +53,7 @@ module.exports = {
5253
editCurrentVersion: true,
5354

5455
// Version dropdown options
55-
lastVersion: latestVersion,
56+
lastVersion: LATEST_VERSION,
5657
/*versions: {
5758
"1.81: {
5859
label: '1.8.1',

0 commit comments

Comments
 (0)