refactor: do not ignore Contact::get_by_id errors in get_encrinfo #1852
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, c.delta.chat, py.delta.chat | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
build-rs: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
show-progress: false | |
- 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/" | |
build-python: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
show-progress: false | |
fetch-depth: 0 # Fetch history to calculate VCS version number. | |
- uses: DeterminateSystems/nix-installer-action@main | |
- uses: DeterminateSystems/magic-nix-cache-action@main | |
- name: Build Python documentation | |
run: nix build .#python-docs | |
- name: Upload to py.delta.chat | |
run: | | |
mkdir -p "$HOME/.ssh" | |
echo "${{ secrets.CODESPEAK_KEY }}" > "$HOME/.ssh/key" | |
chmod 600 "$HOME/.ssh/key" | |
rsync -avzh -e "ssh -i $HOME/.ssh/key -o StrictHostKeyChecking=no" $GITHUB_WORKSPACE/result/html/ "[email protected]:/home/delta/build/master" | |
build-c: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
show-progress: false | |
fetch-depth: 0 # Fetch history to calculate VCS version number. | |
- uses: DeterminateSystems/nix-installer-action@main | |
- uses: DeterminateSystems/magic-nix-cache-action@main | |
- name: Build C documentation | |
run: nix build .#docs | |
- name: Upload to py.delta.chat | |
run: | | |
mkdir -p "$HOME/.ssh" | |
echo "${{ secrets.CODESPEAK_KEY }}" > "$HOME/.ssh/key" | |
chmod 600 "$HOME/.ssh/key" | |
rsync -avzh -e "ssh -i $HOME/.ssh/key -o StrictHostKeyChecking=no" $GITHUB_WORKSPACE/result/html/ "[email protected]:/home/delta/build-c/master" |