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:
4242 chmod 600 "$HOME/.ssh/key"
4343 echo "$DOCS_SSH_HOST_KEY" > "$HOME/.ssh/known_hosts"
4444
45- - name : Deploy docs
45+ - name : Deploy docs and xsd schemas
4646 env :
4747 DOCS_HOST : ${{ secrets.DOCS_HOST }}
4848 DOCS_PATH : ${{ secrets.DOCS_PATH }}
49+ BATCH_SCHEMA_PATH : ${{ secrets.BATCH_SCHEMA_PATH }}
50+ INTEGRATION_SCHEMA_PATH : ${{ secrets.INTEGRATION_SCHEMA_PATH }}
4951 DOCS_USERNAME : ${{ secrets.DOCS_USERNAME }}
5052 working-directory : spring-batch-docs/target
5153 run : |
5456 scp -i $HOME/.ssh/key -r api $DOCS_USERNAME@$DOCS_HOST:$DOCS_PATH/$RELEASE_VERSION
5557 scp -i $HOME/.ssh/key -r reference $DOCS_USERNAME@$DOCS_HOST:$DOCS_PATH/$RELEASE_VERSION
5658 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