From 8abfd80b8379dcff9c15deae84d78ed886e452e0 Mon Sep 17 00:00:00 2001 From: Karol Wypchlo Date: Wed, 7 Oct 2020 15:25:30 +0200 Subject: [PATCH] add deploy to skynet step in github action --- .github/workflows/build.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 37b7178b..3f369910 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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: