blindly copying deltachat-node to core repository

This commit is contained in:
missytake
2022-05-02 18:56:37 +02:00
committed by Simon Laux
parent 961612370d
commit a786a1427d
48 changed files with 10343 additions and 0 deletions

33
node/.github/workflows/upload-docs.yaml vendored Normal file
View File

@@ -0,0 +1,33 @@
name: Generate & upload documentation
on:
push:
branches:
- master
jobs:
generate:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Use Node.js 16.x
uses: actions/setup-node@v1
with:
node-version: 16.x
- name: npm install and generate documentation
run: |
npm i --ignore-scripts
npx typedoc
mv docs js
- name: Upload
uses: horochx/deploy-via-scp@v1.0.1
with:
user: ${{ secrets.USERNAME }}
key: ${{ secrets.KEY }}
host: "delta.chat"
port: 22
local: "js"
remote: "/var/www/html/"