Skip to content

Merge pull request #13 from Kejax/production #18

Merge pull request #13 from Kejax/production

Merge pull request #13 from Kejax/production #18

Workflow file for this run

name: Deploy
on:
push:
branches:
- production
pull_request:
branches:
production
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Deploy to server
uses: appleboy/ssh-action@v1.0.3
with:
host: ${{ secrets.HOST }}
username: ${{ secrets.USERNAME }}
port: ${{ secrets.PORT }}
key: ${{ secrets.SSHKEY }}
script: "cd /var/www/html/api.helldivers/ && ./.scripts/deploy.sh"