Skip to content

Commit

Permalink
Merge pull request #1 from andrea-buzz/sftp-upload
Browse files Browse the repository at this point in the history
Create main.yml
  • Loading branch information
andrea-buzz authored Jul 4, 2024
2 parents b764f23 + b6403b8 commit 4d5c57f
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
on: [push]

jobs:
upload_files:
runs-on: ubuntu-latest
name: Upload a builded file.
steps:
- name: Checkout
uses: actions/checkout@v2.3.4
- name: Upload Files
id: upload
uses: wearesection/sftp-action@v1.0.0
with:
host: '127.0.0.1'
port: 22
username: 'root'
password: 'password'
localPath: './dist/index.js'
remotePath: './'

0 comments on commit 4d5c57f

Please sign in to comment.