Skip to content

Commit

Permalink
Build Action
Browse files Browse the repository at this point in the history
  • Loading branch information
Simon-Rey committed Nov 8, 2024
1 parent 2958b11 commit a9c2323
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/build_and_publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,8 @@ jobs:
- name: Set up SSH key
run: |
mkdir -p ~/.ssh
echo "${{ secrets.SSH_KEY }}" > ssh_key
chmod 600 ssh_key
echo "${{ secrets.SSH_KEY }}" > ~/.ssh/ssh_key
chmod 600 ~/.ssh/ssh_key
# Add the server to known hosts to avoid prompt
- name: Add server to known_hosts
Expand All @@ -62,7 +62,6 @@ jobs:
# SSH into the server and run commands
- name: SSH and Execute Script
env:
SSH_KEY: ${{ secrets.SSH_KEY }}
SERVER_USER: ${{ secrets.SSH_USERNAME }}
SERVER_HOST: ${{ secrets.SSH_HOST }}
run: |
Expand Down

0 comments on commit a9c2323

Please sign in to comment.