see cfg location
Some checks failed
CI/CD Pipeline / deploy-main (push) Failing after 4m25s

This commit is contained in:
2024-02-18 16:02:01 +01:00
parent 2471f17154
commit 1ea9d6afee
2 changed files with 24 additions and 7 deletions

View File

@ -15,8 +15,24 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Set up cargo cache
uses: actions/cache@v3
with:
path: |
~/.cargo/bin/
~/.cargo/registry/index/
~/.cargo/registry/cache/
~/.cargo/git/db/
target/
key: ${{ runner.os }}-cargo-release-${{ hashFiles('**/Cargo.lock') }}
restore-keys: ${{ runner.os }}-cargo-release-
- name: Deploy to production
- name: Run
run: |
cargo r --release
- name: Deploy
run: |
mkdir -p ~/.ssh
ssh-keyscan -H $SSH_HOST >> ~/.ssh/known_hosts