Update main.yml
This commit is contained in:
parent
de518d17ac
commit
8c5febc165
9
.github/workflows/main.yml
vendored
9
.github/workflows/main.yml
vendored
@ -9,19 +9,18 @@ jobs:
|
|||||||
name: build and deploy
|
name: build and deploy
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@master
|
- uses: actions/checkout@2.3.1
|
||||||
|
|
||||||
- name: Build Gatsby Site
|
- name: Build Gatsby Site
|
||||||
uses: jzweifel/gatsby-cli-github-action@master
|
uses: jzweifel/gatsby-cli-github-action@1.0.0
|
||||||
with:
|
with:
|
||||||
gatsby-arg: build
|
gatsby-arg: build
|
||||||
|
|
||||||
- name: Deply via ssh
|
- name: Deply via ssh
|
||||||
uses: appleboy/scp-action@master
|
uses: appleboy/scp-action@0.0.1
|
||||||
with:
|
with:
|
||||||
host: ${{ secrets.HOST }}
|
host: ${{ secrets.HOST }}
|
||||||
username: ${{ secrets.WEBMASTER_USERNAME }}
|
username: ${{ secrets.WEBMASTER_USERNAME }}
|
||||||
password: ${{ secrets.WEBMASTER_PASSWORD }}
|
password: ${{ secrets.WEBMASTER_PASSWORD }}
|
||||||
source: "public/*"
|
source: "public/*"
|
||||||
target: "html"
|
target: "html/"
|
||||||
overwrite: true
|
|
||||||
|
Loading…
Reference in New Issue
Block a user