GitHub Action to build & upload the CFFI documentation

This commit is contained in:
missytake
2022-03-06 09:59:32 +01:00
parent b586d3bb0e
commit b436c2761a

27
.github/workflows/upload-ffi-docs.yml vendored Normal file
View 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/"