Skip to content

Commit

Permalink
feat: no more symlinking
Browse files Browse the repository at this point in the history
  • Loading branch information
foxyseta committed Sep 2, 2024
1 parent 1ff0374 commit 0584d44
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/hugo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,9 @@ jobs:
env:
HUGO_CACHEDIR: ${{ runner.temp }}/hugo_cache
HUGO_ENVIRONMENT: production
# Use README as homepage
run: |
cp content/README.md content/_index.md &&
hugo \
--minify \
--baseURL "${{ steps.pages.outputs.base_url }}/"
Expand Down
12 changes: 11 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
# `visimp` pages

Static website for [`visimp`](https://github.com/visimp/visimp).
Static [Hugo](https://gohugo.io) website for
[`visimp`](https://github.com/visimp/visimp).

Before invoking `hugo`, use

```bash
cp content/README.md content/_index.md
```

This way, `visimp`'s README will be used as the website's homepage. The CI
pipeline also takes care of this.
2 changes: 1 addition & 1 deletion content
Submodule content updated 3 files
+0 −1 README.md
+39 −0 README.md
+0 −39 _index.md
+1 −1 lua/visimp/setup.lua

0 comments on commit 0584d44

Please sign in to comment.