Skip to content

Commit

Permalink
build 1.0.2 docs (#326)
Browse files Browse the repository at this point in the history
  • Loading branch information
pjfanning authored Jan 25, 2024
1 parent fcbabba commit d5be0ad
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/publish-1.0-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,17 +26,17 @@ jobs:

- name: Build Documentation
run: |-
sbt "set ThisBuild / version := \"1.0.1\"; docs/paradox; unidoc"
sbt "set ThisBuild / version := \"1.0.2\"; docs/paradox; unidoc"
# Create directory structure upfront since rsync does not create intermediate directories otherwise
- name: Create directory structure
run: |-
mkdir -p target/nightly-docs/docs/pekko-connectors/1.0.1/
mkdir -p target/nightly-docs/docs/pekko-connectors/1.0.2/
mkdir -p target/nightly-docs/docs/pekko-connectors/1.0/
cp -r docs/target/paradox/site/main/ target/nightly-docs/docs/pekko-connectors/1.0.1/docs
cp -r docs/target/paradox/site/main/ target/nightly-docs/docs/pekko-connectors/1.0.2/docs
cp -r docs/target/paradox/site/main/ target/nightly-docs/docs/pekko-connectors/1.0/docs
rm -r docs/target/paradox/site/main/
cp -r target/scala-2.13/unidoc target/nightly-docs/docs/pekko-connectors/1.0.1/api
cp -r target/scala-2.13/unidoc target/nightly-docs/docs/pekko-connectors/1.0.2/api
cp -r target/scala-2.13/unidoc target/nightly-docs/docs/pekko-connectors/1.0/api
rm -r target/scala-2.13/unidoc
Expand All @@ -45,7 +45,7 @@ jobs:
with:
upload: true
switches: --archive --compress --update --delete --progress --relative
local_path: target/nightly-docs/./docs/pekko-connectors/1.0.1 # The intermediate dot is to show `--relative` which paths to operate on
local_path: target/nightly-docs/./docs/pekko-connectors/1.0.2 # The intermediate dot is to show `--relative` which paths to operate on
remote_path: ${{ secrets.NIGHTLIES_RSYNC_PATH }}/pekko/
remote_host: ${{ secrets.NIGHTLIES_RSYNC_HOST }}
remote_port: ${{ secrets.NIGHTLIES_RSYNC_PORT }}
Expand Down

0 comments on commit d5be0ad

Please sign in to comment.