mirror of
https://github.com/primer/css.git
synced 2024-12-26 07:35:04 +03:00
check count
This commit is contained in:
parent
d6f3282954
commit
cb14b94f51
4
.github/workflows/deploy.yml
vendored
4
.github/workflows/deploy.yml
vendored
@ -14,7 +14,9 @@ jobs:
|
||||
- uses: actions/checkout@master
|
||||
- id: changeset-count
|
||||
run: echo "::set-output name=CHANGE_COUNT::$(ls .changeset/*.md | grep -v README | wc -l | xargs)"
|
||||
- run: echo "We have ${{ steps.changeset-count.outputs.CHANGE_COUNT}} files"
|
||||
- if: ${{ steps.changeset-count.outputs.CHANGE_COUNT == 1 }}
|
||||
name: Deploying to prod
|
||||
run: echo "Deploying"
|
||||
# deploy:
|
||||
# # Run on main
|
||||
# if: ${{ github.ref == 'refs/heads/main' }}
|
||||
|
Loading…
Reference in New Issue
Block a user