Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions ceph-website-prs/build/build
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,7 @@ npm ci

npm run build:development

# This will support "/" and "." in branch names - specific usecase being depadabot branches
OUTPUT_DIR=$(echo "$BRANCH" | tr '/.' '-')
OUTPUT_DIR="$ghprbPullId"

if [ ! -d /opt/www/${OUTPUT_DIR} ]; then
mkdir -p /opt/www/${OUTPUT_DIR}
Expand Down
4 changes: 2 additions & 2 deletions ceph-website-prs/config/definitions/ceph-website-prs.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
- job:
name: ceph-website-prs
description: This job builds PRs from github.com/ceph/ceph.io and serves them at $branch.ceph.io.
description: This job builds PRs from github.com/ceph/ceph.io and serves them at $prnumber.ceph.io.
node: www
project-type: freestyle
defaults: global
Expand Down Expand Up @@ -36,7 +36,7 @@
started-status: "Compiling site"
success-status: "Site compiled successfully!"
failure-status: "Site compilation failed"
success-comment: "Site built/updated successfully! https://${{GIT_BRANCH}}.ceph.io"
success-comment: "Site built/updated successfully! https://${{ghprbPullId}}.ceph.io"

scm:
- git:
Expand Down