From 38f3c82a043f79aeaf33754103a8dc9cf7094658 Mon Sep 17 00:00:00 2001 From: Kyle Spearrin Date: Fri, 14 Feb 2020 13:17:33 -0500 Subject: [PATCH] build badge --- .github/workflows/build.yml | 2 +- README.md | 2 +- appveyor.yml | 50 ------------------------------------- azure-pipelines.yml | 27 -------------------- 4 files changed, 2 insertions(+), 79 deletions(-) delete mode 100644 appveyor.yml delete mode 100644 azure-pipelines.yml diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index c92bde18..ed573e70 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -1,4 +1,4 @@ -name: Build Website +name: Build on: [push, pull_request] diff --git a/README.md b/README.md index 0c51157f..e7187e07 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -[![appveyor build](https://ci.appveyor.com/api/projects/status/83ywnqo5i72aubfv?svg=true)](https://ci.appveyor.com/project/bitwarden/help) +![Build](https://github.com/bitwarden/help/workflows/Build/badge.svg) [![Join the chat at https://gitter.im/bitwarden/Lobby](https://badges.gitter.im/bitwarden/Lobby.svg)](https://gitter.im/bitwarden/Lobby) # Bitwarden Help Center diff --git a/appveyor.yml b/appveyor.yml deleted file mode 100644 index 21044290..00000000 --- a/appveyor.yml +++ /dev/null @@ -1,50 +0,0 @@ -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 diff --git a/azure-pipelines.yml b/azure-pipelines.yml deleted file mode 100644 index 594e8629..00000000 --- a/azure-pipelines.yml +++ /dev/null @@ -1,27 +0,0 @@ -# Node.js -# Build a general Node.js project with npm. -# Add steps that analyze code, save build artifacts, deploy, and more: -# https://docs.microsoft.com/azure/devops/pipelines/languages/javascript - -trigger: -- master - -pool: - vmImage: 'Ubuntu-16.04' - -steps: -- task: UseRubyVersion@0 - displayName: 'Use Ruby >= 2.4' - -- script: 'gem install jekyll bundler' - displayName: 'Install jekyll and bundler gems' - -- task: NodeTool@0 - inputs: - versionSpec: '10.x' - displayName: 'Install Node.js' - -- script: | - npm install - npm run build - displayName: 'npm install and build'