log-2022 #63

Merged
philipp merged 29 commits from log-2022 into staging 2023-11-19 22:21:48 +01:00
Showing only changes of commit 0b1a6acd3a - Show all commits

View File

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