Skip to content

Commit c4df46b

Browse files
committed
Fix PR preview Pages URL
1 parent f915b00 commit c4df46b

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/deploy-pr-preview.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
run: composer i
2222
- name: Change config.php
2323
run: |
24-
sed -i "s|librecode.coop|librecode.github.io|g" CNAME
24+
sed -i "s|librecode.coop|LibreCodeCoop.github.io|g" CNAME
2525
sed -i "s|'baseUrl' => '/'|'baseUrl' => 'https://LibreCodeCoop.github.io/site-preview/pr-preview/pr-${{ github.event.pull_request.number }}/'|g" config.php
2626
cat config.php|grep "'baseUrl' => "
2727
sed -i "/'matomo_container'/d" config.production.php
@@ -40,7 +40,7 @@ jobs:
4040
uses: rossjrw/pr-preview-action@v1
4141
with:
4242
source-dir: ./build_production/
43-
pages-base-url: librecode.github.io/site-preview
43+
pages-base-url: LibreCodeCoop.github.io/site-preview
4444
deploy-repository: LibreCodeCoop/site-preview
4545
preview-branch: main
4646
token: ${{ secrets.PREVIEW_TOKEN }}

0 commit comments

Comments
 (0)