We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a10dc28 commit 019280bCopy full SHA for 019280b
.github/workflows/preview-deploy.yml
@@ -23,13 +23,11 @@ jobs:
23
run: echo "number=$(cat pr_number.txt)" >> $GITHUB_OUTPUT
24
25
- name: 📝 Create .htaccess for SPA routing
26
- env:
27
- PULL_NUMBER: ${{ steps.pr.outputs.number }}
28
run: |
29
cat > ./build/.htaccess << 'EOF'
30
<IfModule mod_rewrite.c>
31
RewriteEngine On
32
- RewriteBase /${PULL_NUMBER}/
+ RewriteBase /${{ steps.pr.outputs.number }}/
33
34
RewriteCond %{REQUEST_FILENAME} !-f
35
RewriteCond %{REQUEST_FILENAME} !-d
0 commit comments