1
0
mirror of https://github.com/bitwarden/help synced 2025-12-27 05:33:14 +00:00

cleanup old github pages deployments

This commit is contained in:
Kyle Spearrin
2020-04-28 09:33:43 -04:00
parent 9dc01d876e
commit d54cfc8b68
2 changed files with 0 additions and 16 deletions

View File

@@ -21,23 +21,12 @@ jobs:
- name: Set up Jekyll
run: gem install bundler jekyll
- name: Set up git credentials
if: github.ref == 'refs/heads/master'
env:
ACCESS_TOKEN: ${{ secrets.ACCESS_TOKEN }}
run: |
git config --global credential.helper store
echo "https://${ACCESS_TOKEN}:x-oauth-basic@github.com" >> ~/.git-credentials
git config --global user.email "ci@bitwarden.com"
git config --global user.name "Bitwarden CI"
- name: Print environment
run: |
node --version
npm --version
ruby --version
jekyll --version
git --version
- name: Checkout repo
uses: actions/checkout@v2
@@ -49,10 +38,6 @@ jobs:
if: github.ref != 'refs/heads/master'
run: npm run build:prod
- name: Build site and deploy to gh-pages
if: github.ref == 'refs/heads/master'
run: npm run deploy
- name: Build site for S3
if: github.ref == 'refs/heads/master'
run: npm run build:prod:sub