add doc and remove debug cmd
All checks were successful
/ test_checkout (push) Successful in 2m8s

This commit is contained in:
Jean-Marie Mineau 2024-03-13 18:07:54 +01:00
parent c10606e80e
commit 4d646a7eea
Signed by: histausse
GPG key ID: B66AEEDA9B645AD2
2 changed files with 8 additions and 6 deletions

View file

@ -5,11 +5,6 @@ jobs:
container:
image: rust:slim-bookworm
steps:
- run: |
echo "git remote add origin ${GITHUB_SERVER_URL}/${GITHUB_REPOSITORY}"
TOKEN=$(echo -n "x-access-token:${GITHUB_TOKEN}" | base64)
echo "git -c http.extraHeader=Authorization: Basic ${TOKEN} push origin -d pages"
echo "git -c http.extraHeader=Authorization: Basic ${TOKEN} push -u origin pages"
- run: apt-get update -y && apt-get install -y nodejs git curl
- run: |
curl -L https://github.com/trunk-rs/trunk/releases/download/v0.19.1/trunk-x86_64-unknown-linux-gnu.tar.gz | tar -xzf-
@ -28,5 +23,4 @@ jobs:
git checkout -b pages
git add *
git commit -m "gen pages"
git log
git -c http.extraHeader="Authorization: Basic ${TOKEN}" push -u origin pages

View file

@ -1,5 +1,13 @@
# Test Pages
Test with page generation. Juste a small yew app.
The generated pages are available here: <https://histausse.page.mineau.eu/tst_pages/>
# Gen pages:
CF <https://git.mineau.eu/histausse/tst_pages/src/branch/main/.forgejo/workflows>
```
git clone <repo>
trunk build --release --public-url '.'