diff options
author | Indrajith K L | 2022-09-03 23:57:18 +0530 |
---|---|---|
committer | GitHub | 2022-09-03 23:57:18 +0530 |
commit | c9da45ec69d8916074d77f266406332bf92a2631 (patch) | |
tree | 1f06e4583129953210b1772391b9d2ba1c17a1d1 /.github | |
parent | 9e0059ff0264886b4db9fadffa3f67767e6f2d48 (diff) | |
download | indrajith-dev-c9da45ec69d8916074d77f266406332bf92a2631.tar.gz indrajith-dev-c9da45ec69d8916074d77f266406332bf92a2631.tar.bz2 indrajith-dev-c9da45ec69d8916074d77f266406332bf92a2631.zip |
Updates Github Actions Config
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/node.js.yml | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/.github/workflows/node.js.yml b/.github/workflows/node.js.yml index 47fa512..f740856 100644 --- a/.github/workflows/node.js.yml +++ b/.github/workflows/node.js.yml @@ -27,12 +27,13 @@ jobs: cache: 'npm' - run: npm ci - run: npm run build --if-present - - name: Publish - uses: azurystudio/deploy-action@v0 + - name: Copying files to server + uses: appleboy/scp-action@master with: host: ${{ secrets.SSH_HOST }} username: ${{ secrets.SSH_USER }} - privateKey: ${{ secrets.SSHKEY }} - destination: ${{ secrets.SSH_DIR }} + key: ${{ secrets.SSHKEY }} passphrase: ${{ secrets.SSH_PASSPHRASE }} - directory: /public + rm: true + source: "public/" + target: "${{ secrets.SSH_DIR }}" |