trigger workflow

This commit is contained in:
Marvin Zhang
2022-06-11 11:17:18 +08:00
parent c0303f5fdb
commit 87704c2cd8

View File

@@ -4,14 +4,14 @@ if [ "${CRAWLAB_NODE_MASTER}" = "Y" ]; then
# start master
/bin/bash /app/bin/docker-start-master.sh
# env
export IS_MASTER=1
# node type
echo "node type: master"
# start crawlab
crawlab-server master
else
# env
export IS_MASTER=0
# node type
echo "node type: worker"
# start crawlab
crawlab-server worker