Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New website #6

Merged
merged 14 commits into from
Sep 24, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading