From b436c2761a0ebf1b30e117ca34b3070b5bdee6a9 Mon Sep 17 00:00:00 2001 From: missytake Date: Sun, 6 Mar 2022 09:59:32 +0100 Subject: [PATCH] GitHub Action to build & upload the CFFI documentation --- .github/workflows/upload-ffi-docs.yml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 .github/workflows/upload-ffi-docs.yml diff --git a/.github/workflows/upload-ffi-docs.yml b/.github/workflows/upload-ffi-docs.yml new file mode 100644 index 000000000..dce6c9131 --- /dev/null +++ b/.github/workflows/upload-ffi-docs.yml @@ -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/" +