Skip to content

Merge pull request #9 from Kejax/main #12

Merge pull request #9 from Kejax/main

Merge pull request #9 from Kejax/main #12

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"