Skip to content

Commit

Permalink
trigger ci
Browse files Browse the repository at this point in the history
  • Loading branch information
labkode committed Nov 16, 2023
1 parent 901d724 commit a177715
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,10 @@ jobs:
steps:
- name: setup-ssh
env: # Or as an environment variable
ssh_key: ${{ secrets.ssh_key}}
SSH_KEY: ${{ secrets.ssh_key}}
run: |
mkdir /root/.ssh \j
echo "$ssh_key" | cut -c1-4
echo -n "$ssh_key" > /root/.ssh/id_rsa \
python -c "import os; file = open('/root/.ssh/id_rsa', 'w'); file.write(os.environ['SSH_KEY']); file.close()"
shasum /root/.ssh/id_rsa \
chmod 600 /root/.ssh/id_rsa \
stat /root/.ssh/id_rsa \
Expand Down
1 change: 1 addition & 0 deletions 1.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,4 @@
1
1
1
1

0 comments on commit a177715

Please sign in to comment.