1
1
mirror of https://github.com/Eugeny/tabby.git synced 2024-10-06 09:27:20 +03:00
tabby/.github/workflows/docs.yml
2021-09-25 00:36:21 +02:00

39 lines
852 B
YAML

name: Docs
on: push
jobs:
build:
runs-on: ubuntu-18.04
if: ${{ github.actor != 'dependabot[bot]' }}
steps:
- name: Checkout
uses: actions/checkout@v2.3.4
with:
fetch-depth: 0
- name: Installing Node
uses: actions/setup-node@v2.4.0
with:
node-version: 14
- name: Build
run: |
yarn cache clean
cd app
yarn
cd ..
rm app/node_modules/.yarn-integrity
yarn
yarn run build:typings
yarn run docs
env:
DOCS_PRIVATE_KEY: ${{ secrets.DOCS_PRIVATE_KEY }}
- uses: FirebaseExtended/action-hosting-deploy@v0
with:
repoToken: '${{ secrets.GITHUB_TOKEN }}'
firebaseServiceAccount: '${{ secrets.FIREBASE_SERVICE_ACCOUNT_TABBY_DOCS }}'
channelId: live
projectId: tabby-docs