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