renamed repo
This commit is contained in:
parent
abe7868240
commit
a16273a29a
3 changed files with 6 additions and 5 deletions
|
@ -5,11 +5,12 @@ packages:
|
||||||
- uv
|
- uv
|
||||||
environment:
|
environment:
|
||||||
site: ficd.ca
|
site: ficd.ca
|
||||||
|
repo: ficd.ca
|
||||||
zonaref: git+https://git.sr.ht/~ficd/zona@47be4986a50d0e921c1f2afa90fb9d029a5c2c85
|
zonaref: git+https://git.sr.ht/~ficd/zona@47be4986a50d0e921c1f2afa90fb9d029a5c2c85
|
||||||
tasks:
|
tasks:
|
||||||
- build: |
|
- build: |
|
||||||
if [ "$GIT_REF" = "refs/heads/main" ]; then
|
if [ "$GIT_REF" = "refs/heads/main" ]; then
|
||||||
cd ficd-zona
|
cd $repo
|
||||||
uv run --with "$zonaref" zona build
|
uv run --with "$zonaref" zona build
|
||||||
else
|
else
|
||||||
echo "Skipping build: not on main"
|
echo "Skipping build: not on main"
|
||||||
|
@ -17,7 +18,7 @@ tasks:
|
||||||
|
|
||||||
- package: |
|
- package: |
|
||||||
if [ "$GIT_REF" = "refs/heads/main" ]; then
|
if [ "$GIT_REF" = "refs/heads/main" ]; then
|
||||||
cd ficd-zona/public
|
cd $repo/public
|
||||||
tar -cvz . > ../public.tar.gz
|
tar -cvz . > ../public.tar.gz
|
||||||
else
|
else
|
||||||
echo "Skipping package: not on main"
|
echo "Skipping package: not on main"
|
||||||
|
@ -25,7 +26,7 @@ tasks:
|
||||||
|
|
||||||
- upload: |
|
- upload: |
|
||||||
if [ "$GIT_REF" = "refs/heads/main" ]; then
|
if [ "$GIT_REF" = "refs/heads/main" ]; then
|
||||||
hut pages publish -d "$site" ficd-zona/public.tar.gz
|
hut pages publish -d "$site" $repo/public.tar.gz
|
||||||
else
|
else
|
||||||
echo "Skipping upload: not on main"
|
echo "Skipping upload: not on main"
|
||||||
fi
|
fi
|
||||||
|
|
|
@ -7,7 +7,7 @@ title: Code
|
||||||
- [GitHub](https://github.com/ficcdaf)
|
- [GitHub](https://github.com/ficcdaf)
|
||||||
- I mirror some of my projects here, or host clones of GitHub projects I
|
- I mirror some of my projects here, or host clones of GitHub projects I
|
||||||
contribute to.
|
contribute to.
|
||||||
- [ficd.ca source code](https://git.sr.ht/~ficd/ficd-zona)
|
- [ficd.ca source code](https://git.sr.ht/~ficd/ficd.ca)
|
||||||
- Source code of this website. Not very interesting; it's mostly Markdown.
|
- Source code of this website. Not very interesting; it's mostly Markdown.
|
||||||
- [site builder source code](https://git.sr.ht/~ficd/zona/tree/dev-stable)
|
- [site builder source code](https://git.sr.ht/~ficd/zona/tree/dev-stable)
|
||||||
- Source code of `zona`, the tool I developed to build and maintain this
|
- Source code of `zona`, the tool I developed to build and maintain this
|
||||||
|
|
|
@ -6,6 +6,6 @@ hosted on [sourcehut].
|
||||||
[©]: https://creativecommons.org/licenses/by-nc-sa/4.0
|
[©]: https://creativecommons.org/licenses/by-nc-sa/4.0
|
||||||
[zona]: https://sr.ht/~ficd/zona
|
[zona]: https://sr.ht/~ficd/zona
|
||||||
[sourcehut]: https://srht.site/
|
[sourcehut]: https://srht.site/
|
||||||
[Open source]: https://git.sr.ht/~ficd/ficd-zona
|
[Open source]: https://git.sr.ht/~ficd/ficd.ca
|
||||||
|
|
||||||
</center>
|
</center>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue