Skip to content

Commit

Permalink
circle.yml: remove IP address (#1301)
Browse files Browse the repository at this point in the history
  • Loading branch information
YiniXu9506 authored and xuechunL committed May 7, 2019
1 parent 7fa89ff commit 2f94379
Showing 1 changed file with 9 additions and 10 deletions.
19 changes: 9 additions & 10 deletions circle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,16 +24,15 @@ jobs:
name: "Generate PDF"
command: scripts/generate_pdf.sh

# - deploy:
# name: "Publish PDF"
# command: |
# sudo bash -c 'echo "119.188.128.5 uc.qbox.me" >> /etc/hosts';
# if [ "${CIRCLE_BRANCH}" == "master" ]; then
# python3 scripts/upload.py output.pdf tidb-manual-cn.pdf;
# fi
# if [ "${CIRCLE_BRANCH}" == "website-preview" ]; then
# python3 scripts/upload.py output.pdf tidb-manual-cn-preview.pdf;
# fi
- deploy:
name: "Publish PDF"
command: |
if [ "${CIRCLE_BRANCH}" == "master" ]; then
python3 scripts/upload.py output.pdf tidb-manual-cn.pdf;
fi
if [ "${CIRCLE_BRANCH}" == "website-preview" ]; then
python3 scripts/upload.py output.pdf tidb-manual-cn-preview.pdf;
fi
- run:
name: "Copy Generated PDF"
Expand Down

0 comments on commit 2f94379

Please sign in to comment.