Skip to content

Commit 3e5dc02

Browse files
Merge pull request #337 from LibreSign/chore/fetch-posts-from-wordpress
chore: fetch posts from WordPress
2 parents 35a7d3e + 8152d4a commit 3e5dc02

File tree

14 files changed

+279
-184
lines changed

14 files changed

+279
-184
lines changed

.github/workflows/deploy.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ on:
88
push:
99
branches: [ main ]
1010
workflow_dispatch:
11+
repository_dispatch:
1112

1213
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
1314
jobs:
@@ -42,4 +43,4 @@ jobs:
4243
# Write the given domain name to the CNAME file
4344
fqdn: libresign.coop
4445
# Allow Jekyll to build your site
45-
jekyll: false
46+
jekyll: false

.github/workflows/preview.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ jobs:
2222
- name: Change config.php
2323
run: |
2424
sed -i "s|libresign.coop|libresign.github.io|g" CNAME
25-
sed -i "s|baseUrl' => '/'|baseUrl' => '/site-preview/pr-preview/pr-${{ github.event.pull_request.number }}/'|g" config.php
26-
cat config.php|grep baseUrl
25+
sed -i "s|baseUrl' => '/'|baseUrl' => 'https://LibreSign.github.io/site-preview/pr-preview/pr-${{ github.event.pull_request.number }}/'|g" config.php
26+
cat config.php|grep "'baseUrl' => "
2727
sed -i "/'matomo_container'/d" config.production.php
2828
- name: Run composer command
2929
run: composer prod

composer.lock

Lines changed: 40 additions & 40 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)