-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
7fd1569
commit 12d32cc
Showing
1 changed file
with
7 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -22,6 +22,12 @@ jobs: | |
runs-on: ubuntu-latest | ||
|
||
steps: | ||
# - name: Create SSH key file | ||
# run: install -m 600 -D /dev/null ~/.ssh/id_rsa | ||
# - name: Adding contents of ssh key | ||
# run: echo "${{ secrets.SSH_PRIVATE_KEY }}" > ~/.ssh/id_rsa | ||
# - name: Adding known hosts | ||
# run: echo "${{ secrets.SSH_KNOWN_HOSTS }}" > ~/.ssh/known_hosts | ||
# - name: Connect to SSH instance, pull image and deploy container | ||
# run: | | ||
# ssh -i ~/.ssh/id_rsa -o StrictHostKeyChecking=no [email protected] << 'EOF' | ||
|
@@ -30,7 +36,7 @@ jobs: | |
# docker run -d -p 8080:8080 --name vtmunc vtmunc/vtmunc | ||
# EOF | ||
- name: Connect to ssh instance, pull image and deploy container | ||
run: appleboy/[email protected] | ||
uses: appleboy/[email protected] | ||
with: | ||
host: vtmunc.org | ||
username: webapp | ||
|