mirror of
https://github.com/spring-projects/spring-security.git
synced 2025-05-29 08:12:14 +00:00
fix docs publish script and trigger workflow on correct branch name
This commit is contained in:
parent
3f979ac958
commit
79a23b8b27
2
.github/actions/publish-docs.sh
vendored
2
.github/actions/publish-docs.sh
vendored
@ -14,5 +14,5 @@ fi
|
||||
install -m 600 -D /dev/null "$SSH_PRIVATE_KEY_PATH"
|
||||
echo "$SSH_PRIVATE_KEY" > "$SSH_PRIVATE_KEY_PATH"
|
||||
echo "$SSH_KNOWN_HOST" > ~/.ssh/known_hosts
|
||||
rsync --delete -avze "ssh -i $SSH_PRIVATE_KEY_PATH" docs/build/site/ "$HOST:$HOST_PATH"
|
||||
rsync --delete -avze "ssh -i $SSH_PRIVATE_KEY_PATH" build/site/ "$HOST:$HOST_PATH"
|
||||
rm -f "$SSH_PRIVATE_KEY_PATH"
|
||||
|
2
.github/workflows/deploy-docs.yml
vendored
2
.github/workflows/deploy-docs.yml
vendored
@ -2,7 +2,7 @@ name: Deploy Docs
|
||||
on:
|
||||
workflow_dispatch:
|
||||
push:
|
||||
branches: docs-deploy
|
||||
branches: docs-build
|
||||
permissions: read-all
|
||||
jobs:
|
||||
build:
|
||||
|
Loading…
x
Reference in New Issue
Block a user