Deploy database backup to Naos #13
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Deploy database backup to Naos | |
on: | |
workflow_dispatch: | |
concurrency: | |
group: deploy-naos | |
cancel-in-progress: true | |
jobs: | |
deploy: | |
environment: | |
name: naos | |
url: https://naos.ugent.be | |
runs-on: ubuntu-latest | |
steps: | |
- name: Install SSH key | |
uses: shimataro/ssh-key-action@v2 | |
with: | |
key: ${{ secrets.MESTRA_KEY }} | |
known_hosts: ${{ secrets.MESTRA_HOST }} | |
- name: Deploy db backup | |
run: | | |
echo "deploy backup" | ssh -p 4840 [email protected] |