push
Some checks reported warnings
CI/CD Pipeline / test (push) Has been cancelled
CI/CD Pipeline / deploy-staging (push) Has been cancelled
CI/CD Pipeline / deploy-main (push) Has been cancelled
CI/CD Pipeline / build (push) Has been cancelled

This commit is contained in:
philipp 2023-11-18 21:18:07 +01:00
parent ffb437e1f4
commit cf257c5f65

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