Skip to content

Commit

Permalink
ci(actions): Only run github pages deploy on tags
Browse files Browse the repository at this point in the history
  • Loading branch information
cmckni3 committed Nov 1, 2023
1 parent 5e3b0de commit b4ee683
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -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]

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/deploy-github-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ name: Deploy demo to GitHub pages

on:
push:
branches: [master]
tags: ['*']

jobs:
build-and-deploy:
Expand Down

0 comments on commit b4ee683

Please sign in to comment.