-
Notifications
You must be signed in to change notification settings - Fork 115
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Python version 3.11 seems to be required. [noissue]
- Loading branch information
Showing
3 changed files
with
29 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,9 @@ | ||
# This script builds the documentation site for staging-docs.pulpproject.org | ||
#!/bin/bash | ||
|
||
# This script builds the documentation site for pulpproject.org | ||
|
||
set -euv | ||
|
||
pip install git+https://github.com/pulp/pulp-docs.git | ||
pulp-docs build | ||
tar cvf staging-docs.pulpproject.org.tar site | ||
tar cvf pulpproject.org.tar site |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
#!/bin/bash | ||
|
||
set -euv | ||
|
||
# make sure this script runs at the repo root | ||
|
@@ -20,9 +22,9 @@ export WORKSPACE=$PWD | |
eval "$(ssh-agent -s)" | ||
ssh-add ~/.ssh/pulp-infra | ||
|
||
mkdir -p ../staging-docs.pulpproject.org | ||
tar -xvf staging-docs.pulpproject.org.tar --directory ../staging-docs.pulpproject.org | ||
pushd ../staging-docs.pulpproject.org | ||
mkdir -p ../pulpproject.org | ||
tar -xvf pulpproject.org.tar --directory ../pulpproject.org | ||
pushd ../pulpproject.org | ||
|
||
# publish to pulpproject.org | ||
rsync -avzh --delete site/ [email protected]:/var/www/docs.pulpproject.org/staging_pulp_core/ | ||
|