Merge pull request #448 from NebulousLabs/deploy-pull-request-to-skynet
add deploy to skynet step in github action
This commit is contained in:
commit
3114648425
|
@ -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.0.0
|
||||||
|
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