forge: use redirects instead of symbolic links
All checks were successful
/ render (push) Successful in 35s
All checks were successful
/ render (push) Successful in 35s
This commit is contained in:
parent
76066e5f1f
commit
e62754a775
2 changed files with 2 additions and 1 deletions
|
@ -27,10 +27,10 @@ jobs:
|
||||||
- name: Website upload
|
- name: Website upload
|
||||||
run: |
|
run: |
|
||||||
cp .pages-domains public/.domains
|
cp .pages-domains public/.domains
|
||||||
|
cp .pages-redirect public/_redirects
|
||||||
git log -1 --pretty=%B > commit.txt
|
git log -1 --pretty=%B > commit.txt
|
||||||
cd public
|
cd public
|
||||||
date > generated.txt
|
date > generated.txt
|
||||||
ln -s index.fr.html public/index.html
|
|
||||||
# Note: the following account information will not work on GHES
|
# Note: the following account information will not work on GHES
|
||||||
git config user.name "forgejo-actions[bot]"
|
git config user.name "forgejo-actions[bot]"
|
||||||
git config user.email "dev@ayakael.net"
|
git config user.email "dev@ayakael.net"
|
||||||
|
|
1
.pages-redirect
Normal file
1
.pages-redirect
Normal file
|
@ -0,0 +1 @@
|
||||||
|
/ index.fr.html 302
|
Loading…
Add table
Reference in a new issue