diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 0000000..eb1764e --- /dev/null +++ b/.github/workflows/main.yml @@ -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: './'