Skip to content

Commit eea47b5

Browse files
committed
adicionando arquivos do travis
1 parent 99c347c commit eea47b5

2 files changed

Lines changed: 25 additions & 0 deletions

File tree

.travis.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
sudo: false
2+
branches:
3+
only:
4+
- pelican
5+
language: python
6+
before_install:
7+
# troque a linha abaixo pelo resultado do comando:
8+
# travis encrypt-file publish-key
9+
# porém mantenha o final:
10+
# -out ~/.ssh/publish-key -d
11+
- openssl aes-256-cbc -K $encrypted_464a01a216c3_key -iv $encrypted_464a01a216c3_iv -in publish-key.enc -out ~/.ssh/publish-key -d
12+
- chmod u=rw,og= ~/.ssh/publish-key
13+
- echo "Host github.com" >> ~/.ssh/config
14+
- echo " IdentityFile ~/.ssh/publish-key" >> ~/.ssh/config
15+
# substitua git@github.com:humrochagf/humrochagf.github.io.git
16+
# pelo endereço de acesso ssh do seu repositório
17+
- git remote set-url origin git@github.com:pythonmg/pythonmg.github.io.git
18+
# Caso esteja montando a página de projeto troque master:master
19+
# por gh-pages:gh-pages
20+
- git fetch origin -f master:master
21+
install:
22+
- pip install --upgrade pip
23+
- pip install -r requirements.txt
24+
script:
25+
- make github

publish-key.enc

1.64 KB
Binary file not shown.

0 commit comments

Comments
 (0)