-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
23 lines (23 loc) · 1004 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
sudo: false
language: python
python:
- 3.6
before_install:
- cd $TRAVIS_BUILD_DIR
install:
- pip install requests
- pip install pyyaml
script: python rebuild_comments.py
after_success:
- git config credential.helper "store --file=.git/credentials"
- echo "https://${GH_TOKEN}:@github.com" > .git/credentials
- git checkout master
- git add ./_data/comments
- git commit --message "Update comments - Travis $TRAVIS_BUILD_NUMBER"
- git push
env:
matrix:
- NETLIFY_SITE_ID=1a868305-2645-4c6f-a0ec-4d5b9f8e0ae5 NETLIFY_FORM_ID=5a3ef81a8c8f334bcdcb6d34 GH_USERNAME=mehdisadeghi GH_REPO=mehdix.ir COMMENT_DIR=./_data/comments
global:
- secure: KBBsjzNr5ZqQi5a42zxLgpbWDtjbqG9I6J/cm2B+3JL8xDR3GAoqAsKfZgljEwmlf5WVyk42IcytSMRlj2Hm5Ke9YdYJbagi/e/Qrs0WTu1AU9bwN6xwHyGK5FJdl/9ObO3KRqZfq8bK5CXYvEBq0ZFt6Tp1vI1r9bBwm5xO7io=
- secure: NcGL/ZQ/COoD1I2xFdWkn2d0/L84TNG9RZ/PRSVJ/gIEx29wiHrJiLrm6YeTBe2zIEEJdCBmpnKXfGxOmGAUsS2wUm32rqFkPxAeLKtBdCz9u1L+wbGenL/AeVANQRC/Enz+NU/YwJT3VrU5TWkGEeMaAuihFkqVDK02vedHc08=