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
|
name: skynet-webportal CI
|
||||||
|
|
||||||
on: [push]
|
on: [pull_request]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
|
@ -30,6 +30,12 @@ jobs:
|
||||||
env:
|
env:
|
||||||
GATSBY_API_URL: "https://siasky.net"
|
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
|
- name: Cypress run
|
||||||
uses: cypress-io/github-action@v1
|
uses: cypress-io/github-action@v1
|
||||||
env:
|
env:
|
||||||
|
|
Reference in New Issue