mirror of
https://github.com/koodiklinikka/koodiklinikka.fi.git
synced 2026-02-18 12:54:10 +00:00
Reinstate deploys (#56)
This commit is contained in:
committed by
Riku Rouvila
parent
dcf26deb0f
commit
461a79ac4d
26
.travis.yml
26
.travis.yml
@@ -7,16 +7,16 @@ install:
|
||||
test:
|
||||
- npm run lint
|
||||
- npm run build
|
||||
#deploy:
|
||||
# local_dir: public
|
||||
# provider: pages
|
||||
# fqdn: koodiklinikka.fi
|
||||
# skip_cleanup: true
|
||||
# github_token: "$GITHUB_TOKEN"
|
||||
# repo: koodiklinikka/koodiklinikka.github.io
|
||||
# target_branch: master
|
||||
# on:
|
||||
# branch: master
|
||||
#after_success:
|
||||
# - chmod ugo+x ./deploy-surge.sh
|
||||
# - "./deploy-surge.sh"
|
||||
deploy:
|
||||
local_dir: out
|
||||
provider: pages
|
||||
fqdn: koodiklinikka.fi
|
||||
skip_cleanup: true
|
||||
github_token: "$GITHUB_TOKEN"
|
||||
repo: koodiklinikka/koodiklinikka.github.io
|
||||
target_branch: master
|
||||
on:
|
||||
branch: master
|
||||
after_success:
|
||||
- chmod ugo+x ./deploy-surge.sh
|
||||
- "./deploy-surge.sh"
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
REPO_SLUG_ARRAY=(${TRAVIS_REPO_SLUG//\// })
|
||||
REPO_OWNER=${REPO_SLUG_ARRAY[0]}
|
||||
REPO_NAME=${REPO_SLUG_ARRAY[1]}
|
||||
DEPLOY_PATH=./public
|
||||
DEPLOY_PATH=./out
|
||||
|
||||
DEPLOY_SUBDOMAIN_UNFORMATTED_LIST=()
|
||||
if [ "$TRAVIS_PULL_REQUEST" != "false" ]
|
||||
|
||||
Reference in New Issue
Block a user