File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -42,10 +42,12 @@ jobs:
42
42
chmod 600 "$HOME/.ssh/key"
43
43
echo "$DOCS_SSH_HOST_KEY" > "$HOME/.ssh/known_hosts"
44
44
45
- - name : Deploy docs
45
+ - name : Deploy docs and xsd schemas
46
46
env :
47
47
DOCS_HOST : ${{ secrets.DOCS_HOST }}
48
48
DOCS_PATH : ${{ secrets.DOCS_PATH }}
49
+ BATCH_SCHEMA_PATH : ${{ secrets.BATCH_SCHEMA_PATH }}
50
+ INTEGRATION_SCHEMA_PATH : ${{ secrets.INTEGRATION_SCHEMA_PATH }}
49
51
DOCS_USERNAME : ${{ secrets.DOCS_USERNAME }}
50
52
working-directory : spring-batch-docs/target
51
53
run : |
54
56
scp -i $HOME/.ssh/key -r api $DOCS_USERNAME@$DOCS_HOST:$DOCS_PATH/$RELEASE_VERSION
55
57
scp -i $HOME/.ssh/key -r reference $DOCS_USERNAME@$DOCS_HOST:$DOCS_PATH/$RELEASE_VERSION
56
58
ssh -i $HOME/.ssh/key $DOCS_USERNAME@$DOCS_HOST rm current && ln -s $RELEASE_VERSION current
59
+
60
+ unzip spring-batch-$RELEASE_VERSION-schemas.zip
61
+ scp -i $HOME/.ssh/key -r batch $DOCS_USERNAME@$DOCS_HOST:$BATCH_SCHEMA_PATH
62
+ scp -i $HOME/.ssh/key -r batch-integration $DOCS_USERNAME@$DOCS_HOST:$INTEGRATION_SCHEMA_PATH
You can’t perform that action at this time.
0 commit comments