Skip to content

Fixed typo.

Fixed typo. #78

Workflow file for this run

name: Build & Upload
on:
# Trigger on pushes to the main branch only.
push:
branches: [main]
# Or run manually.
workflow_dispatch:
jobs:
build-and-upload:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: "3.x"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Build docs
run: make json
- name: Install SSH key
uses: carltongibson/ssh-key-action@v2
with:
key: ${{ secrets.SSH_KEY }}
name: id_ed25519 # optional
known_hosts: ${{ secrets.SSH_KNOWN_HOSTS }}
- name: rsync files
run: rsync -a -e 'ssh -i ~/.ssh/id_ed25519' ./build/json/ ${{ secrets.SSH_USER }}@${{ secrets.SSH_HOST }}:${{ secrets.RSYNC_TARGET_PATH }}