Skip to content

Commit

Permalink
Create test.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
petterannerwall authored Feb 23, 2022
1 parent 30dd986 commit 9653886
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: command test

on:
push:
branches: [ dev ]
pull_request:
branches: [ dev ]

defaults:
run:
working-directory: ExilenceNextBackend

jobs:
build:

runs-on: ubuntu-latest

steps:
- name: Run SSH command
uses: garygrossgarten/github-action-ssh@v0.3.0
with:
command: sudo systemctl restart exilence.service
host: 142.132.227.44
username: ${{ secrets.USER }}
password: ${{ secrets.SECRET }}

0 comments on commit 9653886

Please sign in to comment.