Skip to content

Commit

Permalink
Add SSH action
Browse files Browse the repository at this point in the history
  • Loading branch information
obscurerichard committed Nov 10, 2024
1 parent 8775e83 commit 6a2a8fb
Showing 1 changed file with 18 additions and 1 deletion.
19 changes: 18 additions & 1 deletion .github/workflows/build-latest.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,28 @@
---
name: Build
name: Build and Deploy

on: pull_request

on:
push:
branches:
- 'master'
- 'github-actions-docker-build' # until this is debugged, remove before merging

jobs:
docker:
uses: freezingsaddles/freezing-web/.github/workflows/[email protected]
with:
tag: latest
secrets: inherit

deploy:
uses: appleboy/[email protected]
with:
host: ${{ secrets.HOST }}
username: ${{ secrets.USERNAME }}
key: ${{ secrets.KEY }}
port: ${{ secrets.PORT }}
passphrase: ${{ secrets.PASSPHRASE }}
script: |
ls .ssh/authorized_keys

0 comments on commit 6a2a8fb

Please sign in to comment.