Merge pull request #50 from StreetScienceCommunity/change-ssh-user #7
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 | |
concurrency: | |
group: ci-${{ github.head_ref }} | |
cancel-in-progress: false | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- main | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
fetch-depth: 0 | |
- name: Install SSH key | |
uses: shimataro/ssh-key-action@v2 | |
with: | |
key: ${{ secrets.SSH_KEY }} | |
known_hosts: ${{ secrets.KNOWN_HOSTS }} | |
config: | | |
Host apps.galaxyproject.eu | |
User centos | |
Port 22 | |
- name: Deploy 🚀 | |
run: | | |
git remote add dokku [email protected]:dnanalyzer | |
git push dokku main |