mirror of
https://github.com/chatmail/core.git
synced 2026-04-06 15:42:10 +03:00
Also disable --progress. It is not disabled by default for backward compatibility, but solves the problem of lots of progress lines in the downloadable raw output: https://github.com/actions/checkout/pull/1067
31 lines
734 B
YAML
31 lines
734 B
YAML
# GitHub Actions workflow
|
|
# to build `deltachat_fii` crate documentation
|
|
# and upload it to <https://cffi.delta.chat/>
|
|
|
|
name: Build & Deploy Documentation on cffi.delta.chat
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
with:
|
|
show-progress: false
|
|
- name: Build the documentation with cargo
|
|
run: |
|
|
cargo doc --package deltachat_ffi --no-deps
|
|
- name: Upload to cffi.delta.chat
|
|
uses: up9cloud/action-rsync@v1.3
|
|
env:
|
|
USER: ${{ secrets.USERNAME }}
|
|
KEY: ${{ secrets.KEY }}
|
|
HOST: "delta.chat"
|
|
SOURCE: "target/doc"
|
|
TARGET: "/var/www/html/cffi/"
|