mirror of
https://github.com/chatmail/core.git
synced 2026-04-02 05:22:14 +03:00
GitHub Action to build & upload the CFFI documentation
This commit is contained in:
27
.github/workflows/upload-ffi-docs.yml
vendored
Normal file
27
.github/workflows/upload-ffi-docs.yml
vendored
Normal file
@@ -0,0 +1,27 @@
|
||||
name: Build & Deploy Documentation on cffi.delta.chat
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
- docs-gh-action
|
||||
|
||||
jobs:
|
||||
build:
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v1
|
||||
- name: Build the site in the jekyll/builder container
|
||||
run: |
|
||||
cargo doc --package deltachat_ffi --no-deps
|
||||
- name: Upload
|
||||
uses: up9cloud/action-rsync@v1.3
|
||||
env:
|
||||
USER: ${{ secrets.USERNAME }}
|
||||
KEY: ${{ secrets.KEY }}
|
||||
HOST: "delta.chat"
|
||||
SOURCE: "target/doc"
|
||||
TARGET: "/var/www/html/cffi/"
|
||||
|
||||
Reference in New Issue
Block a user