adding google auth middleware to traefik #113
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
name: Update Homelab Files | |
on: | |
push: | |
branches: | |
- main | |
workflow_dispatch: | |
jobs: | |
deploy: | |
runs-on: "self-hosted" | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/checkout@v4 | |
with: | |
repository: LegitCamper/homelab-secrets | |
path: 'secrets' | |
sparse-checkout: | | |
homelab.env | |
sparse-checkout-cone-mode: false | |
token: ${{ secrets.ACCESS_TOKEN }} | |
- name: Copy folder content recursively to remote | |
uses: garygrossgarten/[email protected] | |
with: | |
local: ${{ github.workspace }} | |
remote: /home/${{ secrets.SSH_USER }}/stacks/homelab/ | |
host: ${{ secrets.HOST }} | |
username: ${{ secrets.SSH_USER }} | |
password: ${{ secrets.PASSWORD }} | |
- name: multiple command | |
uses: appleboy/[email protected] | |
with: | |
host: ${{ secrets.HOST }} | |
username: ${{ secrets.SSH_USER }} | |
password: ${{ secrets.PASSWORD }} | |
script: | | |
cd ~/stacks/homelab/ | |
docker compose --env-file ./secrets/homelab.env -f network.yml -f media.yml -f utilities.yml up -d --remove-orphans |