Skip to content

Commit

Permalink
auto-deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
ncovercash authored Dec 16, 2023
1 parent 5f1b922 commit e7c2ad5
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,3 +39,21 @@ jobs:
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}

- name: Connect to intranet
uses: tailscale/github-action@v2
with:
oauth-client-id: ${{ secrets.TS_OAUTH_CLIENT_ID }}
oauth-secret: ${{ secrets.TS_OAUTH_SECRET }}
tags: tag:gh-actions

- name: Deploy
uses: appleboy/[email protected]
with:
host: ${{ secrets.DEPLOY_SSH_HOST }}
username: ${{ secrets.DEPLOY_SSH_USERNAME }}
key: ${{ secrets.DEPLOY_SSH_KEY }}
script_stop: true
script: |
dc run watchtower --no-startup-message --run-once dutch-fork-runners-gallery
dc up dutch-fork-runners-gallery --wait

0 comments on commit e7c2ad5

Please sign in to comment.