Skip to content

Update main.yml

Update main.yml #34

Workflow file for this run

name: deploy via ssh
on:
push:
branches:
- main
workflow_dispatch:
jobs:
deploy:
if: github.repository_owner == 'contributoragreements'
name: deploy
runs-on: ubuntu-20.04
steps:
- name: remote ssh commands
uses: appleboy/ssh-action@master
with:
host: ${{ secrets.HOST }}
port: ${{ secrets.PORT }}
password: ${{ secrets.PASSWORD }}
username: ${{ secrets.USER }}
#key: ${{ secrets.KEY }}
use_insecure_cipher: true
cipher: diffie-hellman-group-exchange-sha256
debug: true
script: |
cd ~/contributoragreements.org/ca-cla-chooser
git pull origin main