Skip to content

Commit

Permalink
Update 2 files
Browse files Browse the repository at this point in the history
- /book/intro.md
- /.gitlab-ci.yml
  • Loading branch information
lkdmc committed Nov 29, 2024
1 parent 7ee8a67 commit eb9e2ed
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,8 @@ build-book:
expire_in: 1 week

rules:
- if: $CI_COMMIT_BRANCH == "testpip" || $CI_COMMIT_BRANCH == "release"
- if: $CI_MERGE_REQUEST_TARGET_BRANCH_NAME == "testpip" || $CI_MERGE_REQUEST_TARGET_BRANCH_NAME == "release"
- if: $CI_COMMIT_BRANCH == "main" || $CI_COMMIT_BRANCH == "release"
- if: $CI_MERGE_REQUEST_TARGET_BRANCH_NAME == "main" || $CI_MERGE_REQUEST_TARGET_BRANCH_NAME == "release"
when: always

deploy-draft:
Expand All @@ -69,12 +69,12 @@ deploy-draft:
curl -X POST https://mude.citg.tudelft.nl/hooks/book-deploy-draft \
-H "Content-Type: application/json" \
-H "X-Gitlab-Token: glpat-m4CzsDqHnXNn3Pf5Whyd" \
-d "{\"object_kind\":\"pipeline\",\"object_attributes\":{\"status\":\"success\",\"ref\":\"testpip\"},\"build_job_id\":$BUILD_JOB_ID}"
-d "{\"object_kind\":\"pipeline\",\"object_attributes\":{\"status\":\"success\",\"ref\":\"main\"},\"build_job_id\":$BUILD_JOB_ID}"
environment:
name: draft
url: https://mude.citg.tudelft.nl/2024/book/draft
rules:
- if: $CI_COMMIT_BRANCH == "testpip"
- if: $CI_COMMIT_BRANCH == "main"

deploy-production:
stage: deploy
Expand Down
2 changes: 1 addition & 1 deletion book/intro.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Welcome to the MUDE Textbook
# Welcome to the MUDE Textbook 1

Welcome to the MUDE textbook for the 2024-25 academic year. This is where assigned reading is located, along with interactive exercises to practice and study the module material.

Expand Down

0 comments on commit eb9e2ed

Please sign in to comment.