tabby/.github/workflows/docs.yml

39 lines
853 B
YAML
Raw Normal View History

2019-08-26 20:03:36 +00:00
name: Docs
on: push
jobs:
build:
2021-10-04 10:37:44 +00:00
runs-on: ubuntu-latest
2021-05-24 21:30:05 +00:00
if: ${{ github.actor != 'dependabot[bot]' }}
2019-08-26 20:03:36 +00:00
steps:
- name: Checkout
2021-05-16 11:53:13 +00:00
uses: actions/checkout@v2.3.4
with:
fetch-depth: 0
2019-08-26 20:03:36 +00:00
- name: Installing Node
uses: actions/setup-node@v2.4.0
2019-08-26 20:03:36 +00:00
with:
2021-05-16 16:58:46 +00:00
node-version: 14
2019-08-26 20:03:36 +00:00
- name: Build
run: |
2019-10-11 22:25:08 +00:00
yarn cache clean
2019-10-11 22:10:22 +00:00
cd app
yarn
cd ..
rm app/node_modules/.yarn-integrity
2019-08-26 20:03:36 +00:00
yarn
2021-03-04 08:42:46 +00:00
yarn run build:typings
2019-08-26 20:03:36 +00:00
yarn run docs
env:
DOCS_PRIVATE_KEY: ${{ secrets.DOCS_PRIVATE_KEY }}
2021-09-24 22:36:21 +00:00
- uses: FirebaseExtended/action-hosting-deploy@v0
with:
repoToken: '${{ secrets.GITHUB_TOKEN }}'
firebaseServiceAccount: '${{ secrets.FIREBASE_SERVICE_ACCOUNT_TABBY_DOCS }}'
channelId: live
projectId: tabby-docs