This commit is contained in:
philipp 2023-11-18 21:18:07 +01:00
parent c9e47abd8e
commit 0b1a6acd3a

View File

@ -59,6 +59,11 @@ jobs:
- name: Run Test DB Script
run: ./test_db.sh
- name: Download Artifacts
uses: actions/download-artifact@v3
with:
name: build-artifacts
- name: Run Tests
run: cargo test --verbose
@ -74,6 +79,11 @@ jobs:
- name: Checkout
uses: actions/checkout@v3
- name: Download Artifacts
uses: actions/download-artifact@v3
with:
name: build-artifacts
- name: Deploy to Staging
run: |
scp target/$CARGO_TARGET/release/rot $SSH_USER@$SSH_HOST:/home/k004373/rowing-staging/rot-updating
@ -102,6 +112,11 @@ jobs:
- name: Checkout
uses: actions/checkout@v3
- name: Download Artifacts
uses: actions/download-artifact@v3
with:
name: build-artifacts
- name: Deploy to Main
run: |
scp target/$CARGO_TARGET/release/rot $SSH_USER@$SSH_HOST:/home/k004373/rowing/rot-updating