Skip to content

Commit

Permalink
add repo deploy to ci workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
natesales committed Oct 16, 2020
1 parent 709c69c commit bac48d9
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -87,3 +87,12 @@ jobs:
asset_path: ./bcg
asset_name: bcg-${{ steps.vars.outputs.tag }}-amd64
asset_content_type: application/x-deb

- name: Update debian repo
uses: appleboy/ssh-action@master
with:
host: ${{ secrets.HOST }}
username: ${{ secrets.USERNAME }}
password: ${{ secrets.PASSWORD }}
port: ${{ secrets.PORT }}
script: /home/caddy/update-repo.sh

0 comments on commit bac48d9

Please sign in to comment.