mirror of
https://github.com/chatmail/core.git
synced 2026-04-18 05:56:31 +03:00
blindly copying deltachat-node to core repository
This commit is contained in:
33
node/.github/workflows/upload-docs.yaml
vendored
Normal file
33
node/.github/workflows/upload-docs.yaml
vendored
Normal 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/"
|
||||
Reference in New Issue
Block a user