Skip to content

Commit

Permalink
ghactions test
Browse files Browse the repository at this point in the history
  • Loading branch information
101br03k authored Feb 5, 2024
1 parent 87ae103 commit 8fb7b95
Showing 1 changed file with 6 additions and 14 deletions.
20 changes: 6 additions & 14 deletions .github/workflows/update-homepage-config.yml
Original file line number Diff line number Diff line change
@@ -1,31 +1,23 @@
name: Update Homepage Config
name: Update Docker Compose File

on:
push:
branches:
- main
- test
- dev
workflow_dispatch:

jobs:
deploy:
runs-on: "self-hosted"
runs-on: your-runner

steps:
- name: Checkout
uses: actions/checkout@v2

- name: Pull Homepage Config
- name: Restart Docker Container
uses: fifsky/ssh-action@master
with:
username: adm-aw
host: paulus-100-docker.hl
user: adm-aw
host: paulus-101-docker.hl
key: ${{ secrets.SSH_paulus_100_docker }}
#source: '/*'
#target: /docker/docker-setup/homepage-config/
#strip_components: 3
#overwrite: true
command: |
./docker/docker-setup/homepage-config/download-config.sh
sudo ./docker/docker-setup/homepage-config/download-config.sh
cd /docker/docker-setup/

0 comments on commit 8fb7b95

Please sign in to comment.