Tipify and expand zebra-striped-list #371
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Deploy production (push) | |
on: | |
push: | |
branches: [ master ] | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: dorny/paths-filter@v2 | |
id: filter | |
with: | |
filters: | | |
web: | |
- 'src/**' | |
- 'astro.config.mjs' | |
- 'netlify.toml' | |
- 'package-lock.json' | |
- 'package.json' | |
# run only if 'web' files were changed | |
- name: Add deployable commit to 'production' branch | |
env: | |
GH_TOKEN: ${{ secrets.GH_TOKEN }} | |
DEPLOY_TRIGGER: ${{ github.event_name }} | |
if: steps.filter.outputs.web == 'true' | |
run: | | |
chmod +x ./bin/deploy | |
./bin/deploy production |