Skip to content

Commit

Permalink
Merge pull request #7 from nr2f1/deploy-semver
Browse files Browse the repository at this point in the history
ci: only run vercel deployments when changelog have not changed
  • Loading branch information
pataruco authored Mar 3, 2024
2 parents 273fd81 + cfb2026 commit 229e854
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/deploy-website-production.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,11 @@ on:
push:
branches:
- main
# TODO: uncomment the following line when prod deployment is confirmed
# paths:
# - website/**/*
# - .github/workflows/deploy-website-production.yaml
paths:
- website/**/*
- .github/workflows/deploy-website-production.yaml
paths-ignore:
- 'CHANGELOG.md'
env:
VERCEL_ORG_ID: ${{ secrets.VERCEL_ORG_ID }}
VERCEL_PROJECT_ID: ${{ secrets.VERCEL_PROJECT_ID }}
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ on:
types: [opened, synchronize, reopened]
branches:
- main
paths-ignore:
- 'CHANGELOG.md'
merge_group:
types: [checks_requested]

Expand Down

0 comments on commit 229e854

Please sign in to comment.