This commit is contained in:
@@ -25,7 +25,7 @@ jobs:
|
||||
|
||||
- name: Deploy
|
||||
run: |
|
||||
echo "Attempting to reach watchtower endpoint..."
|
||||
curl -v -w "\nHTTP_CODE:%{http_code}\n" \
|
||||
-H "Authorization: Bearer ${{ secrets.WATCHTOWER_TOKEN }}" \
|
||||
https://www.timothykim.net/watchtower/v1/update
|
||||
mkdir -p ~/.ssh
|
||||
echo "${{ secrets.DEPLOY_SSH_KEY }}" > ~/.ssh/deploy_key
|
||||
chmod 600 ~/.ssh/deploy_key
|
||||
ssh -o StrictHostKeyChecking=accept-new -i ~/.ssh/deploy_key deploy@timothykim.net
|
||||
|
||||
+1
-1
@@ -5,6 +5,6 @@
|
||||
</head>
|
||||
<body>
|
||||
<h1>Hello, World!</h1>
|
||||
test 4
|
||||
test 5
|
||||
</body>
|
||||
</html>
|
||||
|
||||
Reference in New Issue
Block a user