Skip to content

Commit

Permalink
ci: do not run metadata workflows on tag push
Browse files Browse the repository at this point in the history
  • Loading branch information
tprasadtp committed Mar 17, 2024
1 parent d700309 commit dee322b
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/metadata-gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@ on:
- "yes"
- "no"
push:
branches:
- "**"
tags-ignore:
- "**"
schedule:
- cron: "30 * * * *"
jobs:
Expand Down Expand Up @@ -53,7 +57,7 @@ jobs:
with:
path: metadata

- name: Deploy to GitHub Pages
- name: Deploy to GitHub Pages (if on master)
if: github.ref == 'refs/heads/master'
id: deployment
uses: actions/deploy-pages@v4
4 changes: 4 additions & 0 deletions .github/workflows/metadata.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@ on:
- "yes"
- "no"
push:
branches:
- "**"
tags-ignore:
- "**"
schedule:
- cron: "30 * * * *"
jobs:
Expand Down

0 comments on commit dee322b

Please sign in to comment.