Create -> node.js.yml
This commit is contained in:
23
.github/workflows/node.js.yml
vendored
Normal file
23
.github/workflows/node.js.yml
vendored
Normal file
@@ -0,0 +1,23 @@
|
||||
name: Persian Game Shop
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [ "main" ]
|
||||
pull_request:
|
||||
branches: [ "main" ]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
name: Build
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: executing remote ssh commands using password
|
||||
uses: appleboy/ssh-action@master
|
||||
with:
|
||||
host: ${{ secrets.HOST }}
|
||||
username: ${{ secrets.USERNAME }}
|
||||
password: ${{ secrets.PASSWORD }}
|
||||
port: ${{ secrets.PORT }}
|
||||
script: |
|
||||
ls -lah
|
||||
bash /var/www/html/persian-game/build.sh
|
||||
Reference in New Issue
Block a user