Merge pull request #530 from zigtools/felix-upload-thank-you-felix

Beam to felix land!
This commit is contained in:
Auguste Rame 2022-07-13 05:25:39 -04:00 committed by GitHub
commit c0668876f9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -60,3 +60,14 @@ jobs:
with: with:
name: builds name: builds
path: artifacts/*.tar.zst path: artifacts/*.tar.zst
- name: Beam to Felix
if: ${{ matrix.os == 'ubuntu-latest' && github.ref == 'refs/heads/master' }}
uses: easingthemes/ssh-deploy@v2.1.1
env:
SSH_PRIVATE_KEY: ${{ secrets.SERVER_SSH_PRIVKEY }}
ARGS: "-rltgoDzvO --delete"
SOURCE: "artifacts/"
REMOTE_HOST: ${{ secrets.WEBSITE_DEPLOY_HOST }}
REMOTE_USER: ${{ secrets.WEBSITE_DEPLOY_USER }}
TARGET: ${{ secrets.WEBSITE_DEPLOY_FOLDER }}