mdr223 deploys A2rchi #4
Workflow file for this run
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 A2rchi | |
run-name: ${{ github.actor }} deploys A2rchi | |
on: [push] | |
jobs: | |
deploy-dev-system: | |
runs-on: ubuntu-latest | |
steps: | |
- run: echo "🎉 The job was automatically triggered by a ${{ github.event_name }} event." | |
- uses: actions/checkout@v3 | |
- run: echo "The ${{ github.repository }} repository has been cloned to the runner." | |
- run: | | |
mkdir ~/.ssh/ | |
touch ~/.ssh/config | |
echo ${{ secrets.SSH_PRIVATE_KEY_MDRUSSO }} >> ~/.ssh/id_rsa_submit | |
cp ${{ github.workspace}}/deploy/ssh_config ~/.ssh/config | |
ssh submit 'bash -s' < ${{ github.workspace }}/deploy/install.sh | |
# - uses: webfactory/[email protected] | |
# with: | |
# ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY_MDRUSSO }} | |
# - run: echo "🖥️ The workflow is now ready to test your code on the runner." | |
# - name: List files in the repository | |
# run: | | |
# ls ${{ github.workspace }} | |
- run: echo "🍏 This job's status is ${{ job.status }}." | |