diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 37b7178b..8bb5e14f 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.0.0 + with: + upload-dir: packages/webapp/public + github-token: ${{ secrets.GITHUB_TOKEN }} + - name: Cypress run uses: cypress-io/github-action@v1 env: