Skip to content

Commit fd5a0ea

Browse files
author
Clément
committed
Remove temporary fix to transition from build to content.
1 parent 6bcc554 commit fd5a0ea

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/build.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ jobs:
4444
- name: Fetch previous version ⤵️
4545
run: |
4646
cd /home/runner/work/csci-1301.github.io/csci-1301.github.io/
47-
wget https://github.com/csci-1301/csci-1301.github.io/releases/download/latest/release.zip && unzip -q release.zip && cd build && rsync -avR labs/*/*.zip ../
47+
wget https://github.com/csci-1301/csci-1301.github.io/releases/download/latest/release.zip && unzip -q release.zip && cd content && rsync -avR labs/*/*.zip ../
4848
- name: Build 🏗️
4949
run: make all
5050
- name: Deploy website 🚀

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ TARGET_DOC_FILES_HTML := $(addprefix $(BUILD_DIR), $(addsuffix .html, $(basename
5757
# 3. Extract the name of the file without the extension using basename (e.g. "about"),
5858
# 4. Add the suffix ".html" (e.g. "about.html"),
5959
# 5. Add the prefix "docs" (e.g. "docs/about.html").
60-
# 6. Add the prefix "build" (e.g. "content/docs/about.html").
60+
# 6. Add the prefix "content" (e.g. "content/docs/about.html").
6161
# This allows to automatically build the list of targets (the content/html files)
6262
# from the list of md files in docs.
6363

@@ -81,7 +81,7 @@ TARGET_LAB_INSTRUCTION_FILES_HTML := $(addprefix $(BUILD_DIR), $(addsuffix index
8181
# 1. Look at the SOURCE_LAB_INSTRUCTION_FILES, (e.g. "labs/HelloWorld/readme.md")
8282
# 2. Extract the directory path using dir (e.g. "labs/HelloWorld/"),
8383
# 3. Append "index.html" to the end of it (e.g. "labs/HelloWorld/index.html"),
84-
# 4. Add the prefix "build" (e.g. "content/labs/HelloWorld/index.html").
84+
# 4. Add the prefix "content" (e.g. "content/labs/HelloWorld/index.html").
8585
# This allows to automatically build the list of targets (the content/labs/*/index.html files)
8686
# from the list of md files in the sub-directories in labs/.
8787

0 commit comments

Comments
 (0)