add deploy to skynet step in github action

This commit is contained in:
Karol Wypchlo 2020-10-07 15:25:30 +02:00
parent c229d78401
commit 8abfd80b83
1 changed files with 7 additions and 1 deletions

View File

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