We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5bad624 commit 9311b6fCopy full SHA for 9311b6f
1 file changed
.github/workflows/deploy-web-merge-test.yml
@@ -0,0 +1,28 @@
1
+name: Deploy production (Test)
2
+on:
3
+ push:
4
+ branches: [ web-merge ]
5
+jobs:
6
+ build:
7
+ runs-on: ubuntu-latest
8
+ steps:
9
+ - uses: actions/checkout@v1
10
+ - uses: dorny/paths-filter@v2
11
+ id: filter
12
+ with:
13
+ filters: |
14
+ web:
15
+ - 'src/**'
16
+ - '.babelrc'
17
+ - 'astro.config.mjs'
18
+ - 'netlify.toml'
19
+ - 'package-lock.json'
20
+ - 'package.json'
21
+ # run only if 'web' files were changed
22
+ - name: Run deployment script
23
+ env:
24
+ GH_TOKEN: ${{ secrets.GH_TOKEN }}
25
+ if: steps.filter.outputs.web == 'true'
26
+ run: |
27
+ chmod +x ./src/scripts/deploy.sh
28
+ ./src/scripts/deploy.sh production
0 commit comments