We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 69f7e05 + d14ae5e commit 7219449Copy full SHA for 7219449
1 file changed
.github/workflows/preview.yml
@@ -4,9 +4,11 @@ on:
4
push:
5
branches:
6
- main
7
+ - dev
8
pull_request:
9
10
11
12
workflow_dispatch:
13
14
jobs:
@@ -29,7 +31,7 @@ jobs:
29
31
if [[ ${{ github.event_name }} == "pull_request" ]]; then
30
32
export PUBLICPATH=PR${{ github.event.number }}
33
else
- export PUBLICPATH=main
34
+ export PUBLICPATH=$GITHUB_REF_NAME
35
fi
36
echo "PUBLICPATH=$PUBLICPATH" >> $GITHUB_ENV
37
sed -i "s|publicPath: 'cff-initializer-javascript'|publicPath: '$PUBLICPATH'|" quasar.conf.js
0 commit comments