From 0b27c02ae17057aca6ce7d496ebe4d732958cd9d Mon Sep 17 00:00:00 2001 From: Karol Wypchlo Date: Wed, 14 Apr 2021 13:39:14 +0200 Subject: [PATCH] adjust github action before merge --- .github/workflows/deploy-website.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/deploy-website.yml b/.github/workflows/deploy-website.yml index 8c835e06..30ede8b9 100644 --- a/.github/workflows/deploy-website.yml +++ b/.github/workflows/deploy-website.yml @@ -1,9 +1,9 @@ name: Deploy website to Skynet on: - push: - branches: - - website + pull_request: + paths: + - "packages/website/**" defaults: run: @@ -43,4 +43,4 @@ jobs: with: upload-dir: packages/website/public github-token: ${{ secrets.GITHUB_TOKEN }} - registry-seed: ${{ github.event_name == 'push' && github.ref == 'refs/heads/website' && secrets.WEBSITE_REGISTRY_SEED || '' }} + registry-seed: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' && secrets.WEBSITE_REGISTRY_SEED || '' }}