add deploy to skynet step in github action
This commit is contained in:
parent
c229d78401
commit
8abfd80b83
|
@ -1,6 +1,6 @@
|
|||
name: skynet-webportal CI
|
||||
|
||||
on: [push]
|
||||
on: [pull_request]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
|
@ -30,6 +30,12 @@ jobs:
|
|||
env:
|
||||
GATSBY_API_URL: "https://siasky.net"
|
||||
|
||||
- name: "Deploy to Skynet"
|
||||
uses: kwypchlo/deploy-to-skynet-action@v1
|
||||
with:
|
||||
upload-dir: packages/webapp/public
|
||||
github-token: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
- name: Cypress run
|
||||
uses: cypress-io/github-action@v1
|
||||
env:
|
||||
|
|
Reference in New Issue