mirror of
https://github.com/suyiiyii/nonebot-bison.git
synced 2025-06-05 11:26:43 +08:00
update circleci config
This commit is contained in:
parent
f0853ccac8
commit
3d9523f5f3
@ -14,10 +14,10 @@ workflows:
|
|||||||
pre-steps:
|
pre-steps:
|
||||||
- run:
|
- run:
|
||||||
command: |
|
command: |
|
||||||
if [ -z "${CIRCLE_PULL_REQUEST##*/}" ]
|
if [[ -n "${CIRCLE_PULL_REQUEST##*/}" && ${CIRCLE_BRANCH} =~ "pull/" ]]
|
||||||
then
|
then
|
||||||
IS_PR=false
|
|
||||||
else
|
|
||||||
IS_PR=true
|
IS_PR=true
|
||||||
|
else
|
||||||
|
IS_PR=false
|
||||||
fi
|
fi
|
||||||
echo '{ "is_pr": '$IS_PR' }' >> /home/circleci/params.json
|
echo '{ "is_pr": '$IS_PR' }' >> /home/circleci/params.json
|
||||||
|
Loading…
x
Reference in New Issue
Block a user