1
0
mirror of https://github.com/bitwarden/help synced 2025-12-16 00:03:41 +00:00
Files
help/appveyor.yml
Kyle Spearrin fd20826d81 ruby 2.6
2019-06-29 00:41:51 -04:00

51 lines
1019 B
YAML

image:
- Ubuntu1804
branches:
except:
- gh-pages
stack: node 10, ruby 2.6
init:
- sh: |
if [ "${DEBUG_SSH}" == "true" ]
then
curl -sflL 'https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-ssh.sh' | bash -e -
fi
install:
- gem install jekyll bundler
- sh: |
if [ "${GH_TOKEN}" != "" ]
then
git config --global credential.helper store
echo "https://${GH_TOKEN}:x-oauth-basic@github.com" >> ~/.git-credentials
git config --global user.email "ci@bitwarden.com"
git config --global user.name "Bitwarden CI"
fi
before_build:
- node --version
- npm --version
- ruby --version
- jekyll --version
build_script:
- npm install
- sh: |
if [ "${GH_TOKEN}" != "" ]
then
npm run deploy
else
npm run build
fi
on_finish:
- sh: |
if [ "${DEBUG_SSH}" == "true" ]
then
export APPVEYOR_SSH_BLOCK=true
curl -sflL 'https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-ssh.sh' | bash -e -
fi