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