Skip to content

Commit

Permalink
New website (#6)
Browse files Browse the repository at this point in the history
* chore: setup svelte kit

* chore: setup tailwind

* adapter static, prettier print width and custom font

* add single page

* update page

* enable prerender

* typo

* animate logo

* update styles

* update main page

* render the version

* remove lang from the FF download link

* feat: deploy to pages on tag

* minor chang
  • Loading branch information
ubermanu authored Sep 24, 2023
1 parent 0feeed2 commit dfeed4b
Show file tree
Hide file tree
Showing 30 changed files with 1,432 additions and 193 deletions.
51 changes: 51 additions & 0 deletions .github/workflows/gh-pages.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
name: gh-pages

on:
push:
tags: [ '*' ]
workflow_dispatch:

permissions:
contents: read
pages: write
id-token: write

concurrency:
group: 'pages'
cancel-in-progress: true

jobs:
publish:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- uses: pnpm/action-setup@v2
with:
version: 8

- uses: actions/setup-node@v3
with:
node-version: 19
registry-url: 'https://registry.npmjs.org'
cache: 'pnpm'

- run: pnpm i
- run: pnpm -r build
env:
SVELTEKIT_BASE_URL: /roller

- name: Setup Pages
uses: actions/configure-pages@v3

- name: Upload artifact
uses: actions/upload-pages-artifact@v2
with:
path: 'sites/roller/build'

- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v2
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Browser extension that allow auto scrolling of web pages, by pressing the mouse

## Install

You can download the extension from the [Chrome Web Store](https://chrome.google.com/webstore/detail/roller/kdcakfeidhfeilahlclgbnmpgebafjpm) or the [Firefox Add-ons Store](https://addons.mozilla.org/af/firefox/addon/roller-scroll/).
You can download the extension from the [Chrome Web Store](https://chrome.google.com/webstore/detail/roller/kdcakfeidhfeilahlclgbnmpgebafjpm) or the [Firefox Add-ons Store](https://addons.mozilla.org/firefox/addon/roller-scroll/).

## Usage

Expand Down
67 changes: 0 additions & 67 deletions docs/README.md

This file was deleted.

40 changes: 0 additions & 40 deletions docs/index.html

This file was deleted.

4 changes: 4 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@
},
"license": "MIT",
"author": "Emmanuel Vodor <[email protected]>",
"exports": {
"./package.json": "./package.json"
},
"files": [
"dist"
],
Expand All @@ -29,6 +32,7 @@
"watch": "rimraf dist && rollup -c -w",
"zip": "pnpm run build && web-ext build --source-dir ./dist/ --overwrite-dest"
},
"prettier": "@ubermanu/prettier-config",
"devDependencies": {
"@rollup/plugin-commonjs": "^24.0.1",
"@rollup/plugin-json": "^6.0.0",
Expand Down
Loading

0 comments on commit dfeed4b

Please sign in to comment.