forge: use redirects instead of symbolic links
All checks were successful
/ render (push) Successful in 35s

This commit is contained in:
ayakael 2025-02-19 14:03:50 -05:00
parent 76066e5f1f
commit e62754a775
No known key found for this signature in database
GPG key ID: 70904985A46AF9AF
2 changed files with 2 additions and 1 deletions

View file

@ -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
View file

@ -0,0 +1 @@
/ index.fr.html 302