Skip to content

Commit

Permalink
Fix conditional statement in sync.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
kressety committed Jan 19, 2024
1 parent 691d05f commit fa52ab8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/sync.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@ jobs:
fetch-depth: 0

- name: Pushing to another repository
if: ${{ secrets.TARGET_REPO }}
env:
TARGET_REPO: ${{ secrets.TARGET_REPO }}
SSH_PRIVATE_KEY: ${{ secrets.SSH_PRIVATE_KEY }}
if: env.TARGET_REPO
run: |
mkdir -p ~/.ssh
echo "$SSH_PRIVATE_KEY" > ~/.ssh/id_rsa
Expand Down

0 comments on commit fa52ab8

Please sign in to comment.