From b4ee6835868f7bd9090756ff5131f5c541afad27 Mon Sep 17 00:00:00 2001 From: Chris McKnight Date: Wed, 1 Nov 2023 01:53:38 -0500 Subject: [PATCH] ci(actions): Only run github pages deploy on tags --- .github/workflows/ci.yml | 2 +- .github/workflows/deploy-github-pages.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e4ffe730..76530a0d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,7 +1,7 @@ # This workflow will do a clean installation of node dependencies, cache/restore them, build the source code and run tests across different versions of node # For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions -name: Build and lint +name: Build on: [push] diff --git a/.github/workflows/deploy-github-pages.yml b/.github/workflows/deploy-github-pages.yml index 6f2d5ddd..1d16ae51 100644 --- a/.github/workflows/deploy-github-pages.yml +++ b/.github/workflows/deploy-github-pages.yml @@ -5,7 +5,7 @@ name: Deploy demo to GitHub pages on: push: - branches: [master] + tags: ['*'] jobs: build-and-deploy: