Skip to content
This repository was archived by the owner on Aug 28, 2025. It is now read-only.

Commit 41d803d

Browse files
committed
cd: fix deploy docs
1 parent 40cb0a0 commit 41d803d

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

.github/workflows/ci_docs.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@ name: validate Docs
33
on: # Trigger the workflow on push or pull request
44
pull_request: {}
55

6+
concurrency:
7+
group: ${{ github.workflow }}-${{ github.head_ref }}
8+
cancel-in-progress: true
9+
610
jobs:
711
build-docs:
812
runs-on: ubuntu-20.04
@@ -39,7 +43,7 @@ jobs:
3943

4044
- name: Process folders
4145
run: |
42-
mkdir ${PATH_DATASETS}
46+
mkdir -p ${PATH_DATASETS}
4347
head=$(git rev-parse origin/"${{ github.base_ref }}")
4448
git diff --name-only $head --output=master-diff.txt
4549
python .actions/assistant.py group-folders master-diff.txt

.github/workflows/docs-deploy.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ jobs:
1212
# https://github.com/marketplace/actions/deploy-to-github-pages
1313
build-docs-deploy:
1414
runs-on: ubuntu-20.04
15+
env:
16+
PATH_DATASETS: ${{ github.workspace }}/.datasets
1517
steps:
1618
- name: Checkout 🛎️
1719
uses: actions/checkout@v2
@@ -30,7 +32,7 @@ jobs:
3032

3133
- name: Install dependencies
3234
run: |
33-
mkdir ${PATH_DATASETS}
35+
mkdir -p ${PATH_DATASETS}
3436
# install Texlive, see https://linuxconfig.org/how-to-install-latex-on-ubuntu-20-04-focal-fossa-linux
3537
sudo apt-get update
3638
sudo apt-get install -y cmake pandoc

0 commit comments

Comments
 (0)