update - 2
Some checks failed
ci / build (amd64) (push) Failing after 3s

This commit is contained in:
2023-08-24 15:45:12 +08:00
parent b5d8bb5e1e
commit cd324b54a5

View File

@ -39,21 +39,21 @@ jobs:
--server ${{ secrets.CI_WALRUS_SERVER }} \
--project web \
--environment dev \
--token ${{ secrets.CI_WALRUS_TOKEN }}
--token '${{ secrets.CI_WALRUS_TOKEN }}
# Build and deploy from source code
./walrus service create \
--name simple-web-service \
--template '{"name":"deploy-source-code", "version":"v0.0.1"}' \
--attributes ${ATTRIBUTES} \
--attributes \."${ATTRIBUTES}"\. \
-d
# Upgrade deploy
if [ ! $(echo $?) -eq '0' ];then
if [ ! $(echo $?) -eq '0' ];then
./walrus service upgrade simple-web-service \
--template '{"name":"deploy-source-code", "version":"v0.0.1"}' \
--attributes ${ATTRIBUTES}
--attributes \."${ATTRIBUTES}"\.
fi