mirror of
https://github.com/VueTorrent/VueTorrent.git
synced 2025-03-14 12:10:18 +03:00
feat: create nightly build
This commit is contained in:
parent
5aa83fa95e
commit
1cdbb95f8c
5 changed files with 40 additions and 9 deletions
31
.github/workflows/nightly.yml
vendored
Normal file
31
.github/workflows/nightly.yml
vendored
Normal file
|
@ -0,0 +1,31 @@
|
|||
name: Build nightly
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
jobs:
|
||||
push-nightly:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v2
|
||||
- name: Setup Node.js
|
||||
uses: actions/setup-node@v2
|
||||
with:
|
||||
node-version: '18'
|
||||
- name: Build Node.js cache
|
||||
uses: actions/cache@v2
|
||||
with:
|
||||
path: ~/.npm
|
||||
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
|
||||
restore-keys: ${{ runner.os }}-node-
|
||||
- name: Install dependencies
|
||||
run: npm ci
|
||||
- name: Build VueTorrent
|
||||
run: npm run build
|
||||
- name: Push to latest-release
|
||||
uses: JamesIves/github-pages-deploy-action@3.7.1
|
||||
with:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
BRANCH: nightly-release
|
||||
FOLDER: ./vuetorrent
|
4
.github/workflows/release.yml
vendored
4
.github/workflows/release.yml
vendored
|
@ -32,7 +32,7 @@ jobs:
|
|||
- name: Setup Node.js
|
||||
uses: actions/setup-node@v2
|
||||
with:
|
||||
node-version: '14'
|
||||
node-version: '18'
|
||||
- name: Build Node.js cache
|
||||
uses: actions/cache@v2
|
||||
with:
|
||||
|
@ -64,7 +64,7 @@ jobs:
|
|||
- name: Setup Node.js
|
||||
uses: actions/setup-node@v2
|
||||
with:
|
||||
node-version: '14'
|
||||
node-version: '18'
|
||||
- name: Build Node.js cache
|
||||
uses: actions/cache@v2
|
||||
with:
|
||||
|
|
2
.github/workflows/test-build.yml
vendored
2
.github/workflows/test-build.yml
vendored
|
@ -11,7 +11,7 @@ jobs:
|
|||
- name: Setup Node.js
|
||||
uses: actions/setup-node@v2
|
||||
with:
|
||||
node-version: '14'
|
||||
node-version: '18'
|
||||
- name: Build Node.js cache
|
||||
uses: actions/cache@v2
|
||||
with:
|
||||
|
|
2
.github/workflows/test.yml
vendored
2
.github/workflows/test.yml
vendored
|
@ -16,7 +16,7 @@ jobs:
|
|||
- name: Setup Node.js
|
||||
uses: actions/setup-node@v2
|
||||
with:
|
||||
node-version: '14'
|
||||
node-version: '18'
|
||||
- name: Build Node.js cache
|
||||
uses: actions/cache@v2
|
||||
with:
|
||||
|
|
10
README.md
10
README.md
|
@ -54,11 +54,12 @@ The sleekest looking WebUI for qBittorrent made with Vue.js!
|
|||
|
||||
### From Source
|
||||
|
||||
- Head to the [`latest-release`](https://github.com/WDaan/VueTorrent/tree/latest-release) branch
|
||||
- Clone branch using
|
||||
- `git clone --single-branch --branch latest-release https://github.com/WDaan/VueTorrent.git`
|
||||
- Pull changes every once in a while, using `git pull`
|
||||
|
||||
If you like to always have the latest and greatest, please sync to the `nightly-release`-branch. This can contain breaking changes though.
|
||||
|
||||
### Lazy/Easy
|
||||
|
||||
- use [hotio's qbittorrent](https://hotio.dev/containers/qbittorrent/) docker image, that comes pre-packed with VueTorrent.
|
||||
|
@ -69,10 +70,10 @@ The sleekest looking WebUI for qBittorrent made with Vue.js!
|
|||
|
||||
- Clone the repo
|
||||
- `npm install`
|
||||
- `npm run dev`
|
||||
- `npm start`
|
||||
- `npm run lint` (to format the code)
|
||||
- `docker-compose up -d` (to start qbittorrent docker => optional, you can edit `vue.config.js` as well)
|
||||
- You now may open and access the WebUI under localhost with the default username `admin` and password `adminadmin`.
|
||||
- `docker-compose up -d` (to start qbittorrent docker => optional, you can edit `vite.config.js` as well)
|
||||
- Open the WebUI on localhost with the default username `admin` and password `adminadmin`.
|
||||
|
||||
## Features
|
||||
|
||||
|
@ -116,5 +117,4 @@ but before you do that:
|
|||
## Credits
|
||||
|
||||
- [qBittorrent](https://github.com/qbittorrent/qBittorrent)
|
||||
- Other alternate WebUI written in Vue [`CzBiX qb-web`](https://github.com/CzBiX/qb-web)
|
||||
- Many thanks [@m4ximuel](https://github.com/m4ximuel) for designing the icon & helping out with the project
|
||||
|
|
Loading…
Add table
Reference in a new issue