Merge pull request #448 from NebulousLabs/deploy-pull-request-to-skynet

add deploy to skynet step in github action
This commit is contained in:
Karol Wypchło 2020-10-07 16:51:11 +02:00 committed by GitHub
commit 3114648425
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 7 additions and 1 deletions

View File

@ -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: