Skip to content

Commit

Permalink
chore: prepared for depreciation
Browse files Browse the repository at this point in the history
  • Loading branch information
forscht committed Jan 11, 2023
1 parent e7861c6 commit 74c3fb4
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 7 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/docker-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,17 @@ jobs:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}

- name: Extract metadata (tags, labels) for Docker
- name: Generate Docker metadata
id: meta
uses: docker/metadata-action@98669ae865ea3cffbcbaa878cf57c20bbf1c6c38
uses: docker/metadata-action@v3
with:
images: forscht/ddrive
tags: |
type=ref,event=branch
type=semver,pattern={{version}}
type=semver,pattern={{major}}.{{minor}}
flavor: |
latest=true
- name: Build and push Docker image
uses: docker/build-push-action@ad44023a93711e3deb337508980b4b5e9bcdc5dc
Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@

https://user-images.githubusercontent.com/59018146/167635903-48cdace0-c383-4e7d-a037-4a32eaa4ab69.mp4

#### Current development branch `3.x`
#### Current development branch `4.x`

### Features
- Theoretically unlimited file size thanks to splitting the file in 8mb chunks using nodejs streams API.
Expand All @@ -51,7 +51,7 @@ https://user-images.githubusercontent.com/59018146/167635903-48cdace0-c383-4e7d-
### Setting up the program
#### With NPM, Open terminal/cmd and run following commands.
```shell
npm install -g @forscht/ddrive
npm install -g @forscht/ddrive@~3
ddrive --token <bot token> --channelId <guild channel id>
# Open http://localhost:8080 in browser
# use <ddrive help> for more info
Expand All @@ -61,14 +61,14 @@ ddrive --token <bot token> --channelId <guild channel id>
[![Deploy](https://www.herokucdn.com/deploy/button.svg)](https://heroku.com/deploy?template=https://github.com/forscht/ddrive/tree/3.x)

#### One Click Deploy with Replit:
[![Deploy](https://replit.com/badge/github/forscht/ddrive)](https://replit.com/github/forscht/ddrive)
[![Deploy](https://replit.com/badge/github/forscht/ddrive)](https://replit.com/github/forscht/ddrive/tree/3.x)

#### One Click Deploy with Railway:
[![Deploy on Railway](https://railway.app/button.svg)](https://railway.app/new/template/ALJmfS?referralCode=27ekYT)

#### With Docker
```shell
docker run --rm -p 8080:8080 -it forscht/ddrive --port 8080 --token <bot-token> --channelId <guild-channel-id>
docker run --rm -p 8080:8080 -it forscht/ddrive:3.7.5 --port 8080 --token <bot-token> --channelId <guild-channel-id>
# Open http://localhost:8080 in browser
# use <docker run --rm -it forscht/ddrive help> for more info
```
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@forscht/ddrive",
"version": "3.7.4",
"version": "3.7.5",
"description": "A lightweight cloud storage system using discord as storage device written in nodejs",
"main": "src/index.js",
"author": "Darshan Patel <darshanhihoriya@gmail.com> (https://github.com/forscht/ddrive)",
Expand Down

0 comments on commit 74c3fb4

Please sign in to comment.