Skip to content

Fix code formatting #397

Fix code formatting

Fix code formatting #397

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