https://github.com/runmaxde/startpage-action
A lightweight Startpage generator powered by YAML & handlebars
https://github.com/runmaxde/startpage-action
bookmarks-manager github-actions startpage-generator
Last synced: 3 months ago
JSON representation
A lightweight Startpage generator powered by YAML & handlebars
- Host: GitHub
- URL: https://github.com/runmaxde/startpage-action
- Owner: runmaxde
- Created: 2022-01-26T14:09:47.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2024-07-17T21:28:04.000Z (11 months ago)
- Last Synced: 2025-01-23T06:13:31.841Z (4 months ago)
- Topics: bookmarks-manager, github-actions, startpage-generator
- Language: JavaScript
- Homepage:
- Size: 238 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Startpage Action 🏠
Github Action to generate a Webpage from your Bookmarks powered by YAML & Handlebars
![]()
![]()
## Action 🎬
``` yaml
# ~/.github/workflows/buil.ymlon: [push]
jobs:
build:
runs-on: ubuntu-latest
name: Build the page
steps:
- name: Checkout 🛎️
uses: actions/checkout@v2- name: Build
uses: runmaxde/[email protected]
with:
templateFile: "./template/index.hbs"
inputFile: "./input.yml"
outputPath: "./page/"- name: Commit
run: |
git config --local user.email "$(git log --format='%ae' HEAD^!)"
git config --local user.name "$(git log --format='%an' HEAD^!)"
git add .
git commit -m "👷 🔨"
git push origin HEAD:${GITHUB_REF}
shell: bash
```## Example
``` handlebars
{{!-- ~/template/index.hbs --}}
Startpage
```
``` yaml
# ~/input.ymlGroup 1:
_@icon: 🚀
github: https://github.com/
google: https://google.com/
```