-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.travis.yml
More file actions
44 lines (36 loc) · 842 Bytes
/
.travis.yml
File metadata and controls
44 lines (36 loc) · 842 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
# Travis CI config for automated Nikola blog deployments
language: python
cache: apt
sudo: false
#addons:
# apt:
# packages:
# - ncftp
branches:
only:
- master
python:
- 3.6
install:
- pip install -U --upgrade-strategy=eager 'Nikola[extras]'
script:
- cd www.pyss.org
- nikola build
# - cd output
#after_success:
# - cd output
# - find . -type f -exec curl -u $USERNAME:$PASSWORD --ftp-create-dirs -T {} ftp://$URL/{} \;
deploy:
provider: pages
skip_cleanup: true
github_token: $GITHUB_TOKEN # Set in the settings page of your repository, as a secure variable
keep_history: true
local_dir: www.pyss.org/output
repo: PythonSanSebastian/PythonSanSebastian.github.io
target_branch: master
on:
branch: master
#notifications:
# email:
# on_success: change
# on_failure: always