1
1
mirror of https://github.com/Eugeny/tabby.git synced 2024-12-11 15:25:19 +03:00
tabby/.github/workflows/docs.yml

26 lines
533 B
YAML
Raw Normal View History

2019-08-26 23:03:36 +03:00
name: Docs
on: push
jobs:
build:
runs-on: ubuntu-18.04
steps:
- name: Checkout
uses: actions/checkout@v1
- name: Installing Node
uses: actions/setup-node@v1
with:
version: 10
- name: Build
run: |
2019-08-26 23:08:00 +03:00
eval $(ssh-agent -s)
2019-08-26 23:03:36 +03:00
ssh-add <(echo "$DOCS_PRIVATE_KEY")
yarn
yarn run docs
rsync -e "ssh -o StrictHostKeyChecking=no" -arv docs/api/ root@ajenti.org:/srv/terminus-docs/
env:
DOCS_PRIVATE_KEY: ${{ secrets.DOCS_PRIVATE_KEY }}