-
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.
ci: Invoke docker compose pull on rena.ffh.zone
- Loading branch information
1 parent
2c7b6db
commit bb6a0ad
Showing
1 changed file
with
12 additions
and
0 deletions.
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 |
---|---|---|
|
@@ -25,3 +25,15 @@ jobs: | |
context: . | ||
push: true | ||
tags: freifunkh/fnorden-membership-signup:latest | ||
|
||
- name: pull the latest docker image | ||
uses: appleboy/[email protected] | ||
with: | ||
host: ${{ secrets.SSH_HOST }} | ||
username: ${{ secrets.SSH_USER }} | ||
key: ${{ secrets.SSH_KEY_GITHUB_ACTIONS_AUTO }} | ||
port: ${{ secrets.SSH_PORT }} | ||
script: | | ||
cd /opt/fnordensignup/ | ||
/usr/bin/docker compose pull | ||
/usr/bin/docker compose up -d |