Skip to content

Merge pull request #129 from effective-altruism-australia/master #19

Merge pull request #129 from effective-altruism-australia/master

Merge pull request #129 from effective-altruism-australia/master #19

Workflow file for this run

name: Deploy to Server
on:
push:
branches:
- live
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Install SSH key
uses: shimataro/ssh-key-action@v2
with:
key: ${{ secrets.SSH_PRIVATE_KEY }}
known_hosts: ${{ secrets.KNOWN_HOSTS }}
- name: Deploy to server
run: ssh -o StrictHostKeyChecking=no [email protected] 'bash /home/eaa/donation_portal/deploy/deploy.sh'