Skip to content

Commit

Permalink
Remove temporary fix to transition from build to content.
Browse files Browse the repository at this point in the history
  • Loading branch information
Clément committed May 22, 2024
1 parent 6bcc554 commit fd5a0ea
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ jobs:
- name: Fetch previous version ⤵️
run: |
cd /home/runner/work/csci-1301.github.io/csci-1301.github.io/
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 ../
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 ../
- name: Build 🏗️
run: make all
- name: Deploy website 🚀
Expand Down
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ TARGET_DOC_FILES_HTML := $(addprefix $(BUILD_DIR), $(addsuffix .html, $(basename
# 3. Extract the name of the file without the extension using basename (e.g. "about"),
# 4. Add the suffix ".html" (e.g. "about.html"),
# 5. Add the prefix "docs" (e.g. "docs/about.html").
# 6. Add the prefix "build" (e.g. "content/docs/about.html").
# 6. Add the prefix "content" (e.g. "content/docs/about.html").
# This allows to automatically build the list of targets (the content/html files)
# from the list of md files in docs.

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

Expand Down

0 comments on commit fd5a0ea

Please sign in to comment.