From 8c5febc165b9d74e728d30d0cff740a8827ac5c1 Mon Sep 17 00:00:00 2001 From: Alexander Nozik Date: Fri, 26 Jun 2020 09:48:58 +0300 Subject: [PATCH] Update main.yml --- .github/workflows/main.yml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 02c47ae..cb864db 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -9,19 +9,18 @@ jobs: name: build and deploy runs-on: ubuntu-latest steps: - - uses: actions/checkout@master + - uses: actions/checkout@2.3.1 - name: Build Gatsby Site - uses: jzweifel/gatsby-cli-github-action@master + uses: jzweifel/gatsby-cli-github-action@1.0.0 with: gatsby-arg: build - name: Deply via ssh - uses: appleboy/scp-action@master + uses: appleboy/scp-action@0.0.1 with: host: ${{ secrets.HOST }} username: ${{ secrets.WEBMASTER_USERNAME }} password: ${{ secrets.WEBMASTER_PASSWORD }} source: "public/*" - target: "html" - overwrite: true + target: "html/"