Skip to content

Commit

Permalink
build on BBC server
Browse files Browse the repository at this point in the history
  • Loading branch information
Laurent De Coninck committed Oct 25, 2023
1 parent 46f3f66 commit bcf7e51
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Deploy on Tag Creation
on:
push:
tags:
- 'bbc.*'
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2

- name: Deploy via rsync and SSH
uses: burnett01/rsync-deployments@5.2
with:
switches: -ravz --update --exclude 'wercker.yml' --exclude '.github/*' --exclude 'README.md'
remote_path: ${{ secrets.SSH_DESTINATION }}
remote_host: ${{ secrets.SSH_HOST }}
remote_user: ${{ secrets.SSH_USER }}
remote_key: ${{ secrets.SSH_PRIVATE_KEY }}

0 comments on commit bcf7e51

Please sign in to comment.