show file listing for csv folder #94
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 | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
branches: [main] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Checkout and toolchain | |
run: rustup update stable && rustup default stable | |
- name: Test | |
run: cargo test | |
- name: Build | |
run: cargo build --release | |
- name: SSH setup | |
run: | | |
install -m 600 -D /dev/null ~/.ssh/id_ed25519 | |
echo "${{ secrets.SSH_PRIVATE_KEY }}" > ~/.ssh/id_ed25519 | |
ssh-keyscan -H berinaniesh.xyz > ~/.ssh/known_hosts | |
- name: Deploy | |
run: scp target/release/bible-api [email protected]:/home/berinaniesh/tmp/bible-api |