pulumi-hugo-cn/.travis.yml

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

18 lines
544 B
YAML
Raw Permalink Normal View History

2021-05-15 07:43:30 -04:00
language: node_js go
2021-05-14 12:42:27 -04:00
node_js:
2021-05-15 07:30:26 -04:00
- 14
go:
- 1.16.x
2021-05-14 13:56:36 -04:00
install:
2021-05-14 14:06:56 -04:00
- wget https://github.com/gohugoio/hugo/releases/download/v0.83.1/hugo_0.83.1_Linux-64bit.deb
- sudo dpkg -i hugo*.deb
2021-05-15 07:51:34 -04:00
- wget -O /tmp/go.tar.gz https://golang.org/dl/go1.16.4.linux-amd64.tar.gz
2021-05-15 08:04:39 -04:00
- rm -rf /tmp/go && tar -xzvf /tmp/go.tar.gz
2021-05-15 07:51:34 -04:00
- export PATH=$PATH:/tmp/go/bin
2021-05-15 08:10:19 -04:00
- go version
2021-05-14 14:06:56 -04:00
- npm install -g firebase-tools
2021-05-14 12:42:27 -04:00
script:
- echo "Deploy To Firebase CI"
2021-05-15 07:33:50 -04:00
- make ensure
2021-05-14 12:42:27 -04:00
after_success:
2021-05-15 07:22:04 -04:00
- firebase deploy --only hosting --project pulumi-hugo-cn --token $FIREBASE_TOKEN