Remove github automation
This commit is contained in:
parent
e9ef5f6731
commit
7ab78ee5b9
32
.github/workflows/main.yml
vendored
32
.github/workflows/main.yml
vendored
@ -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/"
|
|
Loading…
Reference in New Issue
Block a user