Skip to content

Commit

Permalink
attempt autoupdate ghcr action
Browse files Browse the repository at this point in the history
  • Loading branch information
mralext20 committed Jul 3, 2024
1 parent 622c38c commit 4adb772
Showing 1 changed file with 21 additions and 1 deletion.
22 changes: 21 additions & 1 deletion .github/workflows/ghcr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,4 +44,24 @@ jobs:
labels: ${{ steps.meta.outputs.labels }}
cache-from: type=registry,ref=${{ env.REGISTRY }}/${{ env.IMAGE_NAME }},mode=max
cache-to: type=inline,mode=max

update-remote:
runs-on: ubuntu-latest
permissions:
contents: read
secret: read
steps:
- name: Tailscale
uses: tailscale/github-action@v2
with:
oauth-client-id: ${{ secrets.TS_OAUTH_CLIENT_ID }}
oauth-secret: ${{ secrets.TS_OAUTH_SECRET }}
tags: tag:ci
- name: SSH Remote Commands
uses: appleboy/[email protected]
with:
host: alexbot
username: alex
script: |
cd alex-bot
docker compose pull
docker compose up -d

0 comments on commit 4adb772

Please sign in to comment.