From 7ab78ee5b9d6549f49ba2633805d832ea8d3685c Mon Sep 17 00:00:00 2001 From: Alexander Nozik Date: Fri, 5 Feb 2021 14:03:44 +0300 Subject: [PATCH] Remove github automation --- .github/workflows/main.yml | 32 -------------------------------- 1 file changed, 32 deletions(-) delete mode 100644 .github/workflows/main.yml diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml deleted file mode 100644 index a1f3ad7..0000000 --- a/.github/workflows/main.yml +++ /dev/null @@ -1,32 +0,0 @@ -name: deploy -on: - push: - branches: - - master - -jobs: - build: - name: build and deploy - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v2 - - - name: Build Gatsby Site - uses: jzweifel/gatsby-cli-github-action@master - with: - gatsby-args: build - - - name: Upload bundle - uses: actions/upload-artifact@v2 - with: - name: "site-bundle" - path: "public/" - - - name: Deply via ssh - uses: appleboy/scp-action@master - with: - host: ${{ secrets.HOST }} - username: ${{ secrets.WEBMASTER_USERNAME }} - key: ${{secrets.NPM_GITHUB_PRIVATE_KEY}} - source: "public/*" - target: "html/"