Skip to content

Commit

Permalink
Update copy-to-practicum-machine.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
sergzach authored Sep 29, 2024
1 parent a3e7997 commit 908e164
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions .github/workflows/copy-to-practicum-machine.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,14 +34,14 @@ jobs:
source: "sergzach-test2.txt"
target: "taski"
# Run tmate only if the previous step is failure.
- name: Setup tmate session
if: ${{ failure() }}
# Environ. variables from secrets for tmate (use env bash command).
env:
SECRETS_HOST: ${{ secrets.HOST }}
SECRETS_USERNAME: ${{ secrets.USERNAME }}
SECRETS_SSH_KEY: ${{ secrets.SSH_KEY }}
SECRETS_PASSPHASE: ${{ secrets.SSH_PASSPHRASE }}
SECRETS_SOURCE: "sergzach-test.txt"
SECRETS_TARGET: "taski"
uses: mxschmitt/action-tmate@v3
# - name: Setup tmate session
# if: ${{ failure() }}
# # Environ. variables from secrets for tmate (use env bash command).
# env:
# SECRETS_HOST: ${{ secrets.HOST }}
# SECRETS_USERNAME: ${{ secrets.USERNAME }}
# SECRETS_SSH_KEY: ${{ secrets.SSH_KEY }}
# SECRETS_PASSPHASE: ${{ secrets.SSH_PASSPHRASE }}
# SECRETS_SOURCE: "sergzach-test.txt"
# SECRETS_TARGET: "taski"
# uses: mxschmitt/action-tmate@v3

0 comments on commit 908e164

Please sign in to comment.