Skip to content

Commit be2e12d

Browse files
committed
Update website
1 parent e14d14f commit be2e12d

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

93 files changed

+7326
-896
lines changed

.deploy.sh

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
#!/bin/bash
2+
if [[ "$TRAVIS_OS_NAME" == "linux" && "$TRAVIS_PULL_REQUEST" = "false" && "$TRAVIS_BRANCH" == "master" ]]; then
3+
cp CNAME public
4+
git clone https://github.com/davisp/ghp-import.git &&
5+
./ghp-import/ghp_import.py -n -p -f -m "Documentation upload" -b master -r https://"$GH_TOKEN"@github.com/actix/actix.github.io.git _site &&
6+
echo "Uploaded documentation"
7+
fi

.gitignore

+2-4
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,2 @@
1-
.DS_Store
2-
3-
build/
4-
_site/
1+
public
2+
tmp

.travis.yml

+13-11
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,17 @@
11
language: rust
22
sudo: false
3-
dist: trusty
43

5-
# build website
4+
install:
5+
- curl -L https://github.com/gohugoio/hugo/releases/download/v0.40.3/hugo_0.40.3_Linux-64bit.tar.gz |
6+
tar xzvf -
7+
68
script:
7-
- export PATH=$PATH:~/.cargo/bin
8-
- |
9-
if [[ "$TRAVIS_OS_NAME" == "linux" && "$TRAVIS_PULL_REQUEST" = "false" && "$TRAVIS_BRANCH" == "master" ]]; then
10-
curl -sL https://github.com/cobalt-org/cobalt.rs/releases/download/v0.12.1/cobalt-v0.12.1-x86_64-unknown-linux-gnu.tar.gz | tar xvz -C $HOME/.cargo/bin &&
11-
cobalt build && cp CNAME ./_site/ &&
12-
git clone https://github.com/davisp/ghp-import.git &&
13-
./ghp-import/ghp_import.py -n -p -f -m "Documentation upload" -b master -r https://"$GH_TOKEN"@github.com/actix/actix.github.io.git _site &&
14-
echo "Uploaded documentation"
15-
fi
9+
- ./hugo_0.40.3_Linux-64bit/hugo_0.18.1_linux_amd64
10+
11+
deploy:
12+
provider: script
13+
script: bash .deploy.sh
14+
skip_cleanup: true
15+
on:
16+
branch: master
17+
condition: $TRAVIS_PULL_REQUEST = "false"

CNAME

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
actix.rs
1+
actix.rs

LICENSE

-201
This file was deleted.

0 commit comments

Comments
 (0)