1
1
mirror of https://github.com/primer/css.git synced 2024-12-26 07:35:04 +03:00

check count

This commit is contained in:
Jon Rohan 2021-04-05 18:27:23 -07:00
parent d6f3282954
commit cb14b94f51
No known key found for this signature in database
GPG Key ID: B0BBE304A9A0AECB

View File

@ -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' }}