Skip to content

Commit

Permalink
Merge pull request #48 from MariaInsyt/arthur
Browse files Browse the repository at this point in the history
deployment workflow impl....
  • Loading branch information
kyagie committed Mar 15, 2024
2 parents 619c865 + e32593c commit 0cb74af
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions .github/workflows/main.yml
Expand Up @@ -4,11 +4,19 @@ on:
pull_request:
branches:
- develop
- master

jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Echo Github token
run: echo ${{ secrets.GITHUB_TOKEN }}
- name: Checkout
uses: actions/checkout@v2
with:
token: ${{ secrets.GITHUB_TOKEN }}
- name: executing remote ssh commands using password
uses: appleboy/ssh-action@v1.0.3
with:
host: ${{ secrets.HOST }}
username: ${{ secrets.USERNAME }}
password: ${{ secrets.PASSWORD }}
script: whoami

0 comments on commit 0cb74af

Please sign in to comment.