Skip to content

Commit 019280b

Browse files
test preview refresh problems (#304)
1 parent a10dc28 commit 019280b

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

.github/workflows/preview-deploy.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,13 +23,11 @@ jobs:
2323
run: echo "number=$(cat pr_number.txt)" >> $GITHUB_OUTPUT
2424

2525
- name: 📝 Create .htaccess for SPA routing
26-
env:
27-
PULL_NUMBER: ${{ steps.pr.outputs.number }}
2826
run: |
2927
cat > ./build/.htaccess << 'EOF'
3028
<IfModule mod_rewrite.c>
3129
RewriteEngine On
32-
RewriteBase /${PULL_NUMBER}/
30+
RewriteBase /${{ steps.pr.outputs.number }}/
3331
3432
RewriteCond %{REQUEST_FILENAME} !-f
3533
RewriteCond %{REQUEST_FILENAME} !-d

0 commit comments

Comments
 (0)