Deploy preview site to review pull requests #5

Merged
btlogy merged 32 commits from 1.site-preview into main 2024-05-24 11:08:07 +00:00

32 Commits

Author SHA1 Message Date
c1243b7a27 Add a cleanup workflow
Some checks failed
Jekyll / jekyll (pull_request) Successful in 21s
Jekyll cleanup / jekyll_cleanup (pull_request) Failing after 1s
Signed-off-by: Benoit Donneaux <benoit@leastauthority.com>
2024-05-24 13:06:38 +02:00
a9ad6f6771 Remove build output entirely
All checks were successful
Jekyll / jekyll (pull_request) Successful in 20s
Signed-off-by: Benoit Donneaux <benoit@leastauthority.com>
2024-05-24 12:55:29 +02:00
531e50d97f Do not print build output for now
All checks were successful
Jekyll / jekyll (pull_request) Successful in 20s
Signed-off-by: Benoit Donneaux <benoit@leastauthority.com>
2024-05-24 12:53:52 +02:00
daf2ed5190 Improve step error conditions
Signed-off-by: Benoit Donneaux <benoit@leastauthority.com>
2024-05-24 12:53:27 +02:00
d2c7588767 Try very relative for CSS assets
All checks were successful
Jekyll / jekyll (pull_request) Successful in 21s
Signed-off-by: Benoit Donneaux <benoit@leastauthority.com>
2024-05-24 12:48:34 +02:00
f38cd4b6bc Relative path for css too
All checks were successful
Jekyll / jekyll (pull_request) Successful in 20s
Signed-off-by: Benoit Donneaux <benoit@leastauthority.com>
2024-05-24 12:45:32 +02:00
0c695236f4 Relative path to favico
All checks were successful
Jekyll / jekyll (pull_request) Successful in 22s
Signed-off-by: Benoit Donneaux <benoit@leastauthority.com>
2024-05-24 12:43:38 +02:00
2908a8d930 Remove relative_url iter for favico too
All checks were successful
Jekyll / jekyll (pull_request) Successful in 20s
Signed-off-by: Benoit Donneaux <benoit@leastauthority.com>
2024-05-24 12:41:16 +02:00
29b2069ed9 Remove relative_url filter from index.html
All checks were successful
Jekyll / jekyll (pull_request) Successful in 20s
Signed-off-by: Benoit Donneaux <benoit@leastauthority.com>
2024-05-24 12:39:03 +02:00
4d469b8b57 Show only baseurl
All checks were successful
Jekyll / jekyll (pull_request) Successful in 20s
Signed-off-by: Benoit Donneaux <benoit@leastauthority.com>
2024-05-24 12:34:27 +02:00
863e8de0d3 Fix condition
All checks were successful
Jekyll / jekyll (pull_request) Successful in 20s
Signed-off-by: Benoit Donneaux <benoit@leastauthority.com>
2024-05-24 12:33:19 +02:00
3ec0bdf4fc Show baseurl when overwritting
Some checks failed
Jekyll / jekyll (pull_request) Failing after 21s
Signed-off-by: Benoit Donneaux <benoit@leastauthority.com>
2024-05-24 12:30:47 +02:00
6081093f2d Overwrite baseurl for preview
Some checks failed
Jekyll / jekyll (pull_request) Failing after 20s
Signed-off-by: Benoit Donneaux <benoit@leastauthority.com>
2024-05-24 12:27:23 +02:00
c3255a0018 Add relative_url filter for preview context
Some checks failed
Jekyll / jekyll (pull_request) Failing after 20s
Signed-off-by: Benoit Donneaux <benoit@leastauthority.com>
2024-05-24 12:12:10 +02:00
e824b07837 Prepare ssh key just before deploying
Some checks failed
Jekyll / jekyll (pull_request) Failing after 20s
Signed-off-by: Benoit Donneaux <benoit@leastauthority.com>
2024-05-24 10:59:19 +02:00
41145ffb89 Try rsync before deploying
Some checks failed
Jekyll / jekyll (pull_request) Failing after 26s
Signed-off-by: Benoit Donneaux <benoit@leastauthority.com>
2024-05-24 10:56:01 +02:00
279a9dd94f This should work, but does not!
Some checks failed
Jekyll / jekyll (pull_request) Failing after 27s
Signed-off-by: Benoit Donneaux <benoit@leastauthority.com>
2024-05-24 10:54:36 +02:00
5ab12dda46 W/o deletion for now
Some checks failed
Jekyll / jekyll (pull_request) Failing after 25s
Signed-off-by: Benoit Donneaux <benoit@leastauthority.com>
2024-05-24 10:48:36 +02:00
6c0c6216a6 Test previous rsync args
Some checks failed
Jekyll / jekyll (pull_request) Failing after 26s
Signed-off-by: Benoit Donneaux <benoit@leastauthority.com>
2024-05-24 10:45:48 +02:00
3de7adb4a6 Fallback on GitHub env?
Some checks failed
Jekyll / jekyll (pull_request) Failing after 28s
Signed-off-by: Benoit Donneaux <benoit@leastauthority.com>
2024-05-24 10:35:11 +02:00
a136250c18 Fix bash condition block
Some checks failed
Jekyll / jekyll (pull_request) Failing after 20s
Signed-off-by: Benoit Donneaux <benoit@leastauthority.com>
2024-05-24 10:26:35 +02:00
2ecd602f48 Fix deploy script
Some checks failed
Jekyll / jekyll (pull_request) Failing after 19s
Signed-off-by: Benoit Donneaux <benoit@leastauthority.com>
2024-05-24 10:24:26 +02:00
a0d865d21b Deploy preview in dedicated root with context per PR
Some checks failed
Jekyll / jekyll (pull_request) Failing after 21s
Signed-off-by: Benoit Donneaux <benoit@leastauthority.com>
2024-05-24 10:12:27 +02:00
4d7cfaf6c3 Avoid passing the URL
Some checks failed
Jekyll / jekyll (pull_request) Failing after 20s
Signed-off-by: Benoit Donneaux <benoit@leastauthority.com>
2024-05-23 22:53:45 +02:00
7ac9feaee4 Quote URL
Some checks failed
Jekyll / jekyll (pull_request) Failing after 19s
Signed-off-by: Benoit Donneaux <benoit@leastauthority.com>
2024-05-23 22:51:09 +02:00
ee742b5291 Avoid format function for now
Some checks failed
Jekyll / jekyll (pull_request) Failing after 22s
Signed-off-by: Benoit Donneaux <benoit@leastauthority.com>
2024-05-23 22:48:31 +02:00
688f335240 Test url
Some checks failed
Jekyll / jekyll (pull_request) Failing after 19s
Signed-off-by: Benoit Donneaux <benoit@leastauthority.com>
2024-05-23 22:44:42 +02:00
1d041506fc Fix URL
Some checks failed
Jekyll / jekyll (pull_request) Failing after 19s
Signed-off-by: Benoit Donneaux <benoit@leastauthority.com>
2024-05-23 22:35:12 +02:00
7743cd682e Adapt to Gitea even more
Signed-off-by: Benoit Donneaux <benoit@leastauthority.com>
2024-05-23 22:33:45 +02:00
61cb6880c6 Adapt to Gitea
Some checks failed
Jekyll / jekyll (pull_request) Failing after 19s
Signed-off-by: Benoit Donneaux <benoit@leastauthority.com>
2024-05-23 22:28:44 +02:00
f89cb1623c Add the template in the legacy GitHub path
Some checks failed
Jekyll / jekyll (pull_request) Failing after 20s
Signed-off-by: Benoit Donneaux <benoit@leastauthority.com>
2024-05-23 22:16:55 +02:00
7af76bd914 Deploy preview site to review pull requests
Some checks failed
Jekyll / jekyll (pull_request) Failing after 22s
Signed-off-by: Benoit Donneaux <benoit@leastauthority.com>
2024-05-23 22:14:09 +02:00