Basic self-reporting, core part (#5129) #1664
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build & Deploy Documentation on rs.delta.chat | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Build the documentation with cargo | |
run: | | |
cargo doc --package deltachat --no-deps --document-private-items | |
- name: Upload to rs.delta.chat | |
uses: up9cloud/[email protected] | |
env: | |
USER: ${{ secrets.USERNAME }} | |
KEY: ${{ secrets.KEY }} | |
HOST: "delta.chat" | |
SOURCE: "target/doc" | |
TARGET: "/var/www/html/rs/" |