Skip to content

Commit

Permalink
Merge pull request #56 from ZingerLittleBee/deploy
Browse files Browse the repository at this point in the history
Deploy
  • Loading branch information
ZingerLittleBee authored Sep 22, 2023
2 parents d59f61b + d5325ca commit 513f90a
Show file tree
Hide file tree
Showing 12 changed files with 706 additions and 87 deletions.
40 changes: 40 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
name: Publish CD

on:
push:
tags:
- '*'
workflow_dispatch:

jobs:
publish:
name: Publish
runs-on: ubuntu-latest
steps:
- name: Checkout 🛎️
uses: actions/checkout@v3

- name: Install stable toolchain 💿
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true

- run: sudo apt-get -y update && sudo apt-get -y install libpcap-dev

- uses: actions/setup-node@v3
with:
node-version: 18
- uses: pnpm/action-setup@v2
with:
version: 8
- name: Install dependencies and build
run: |
pnpm -C view install
pnpm -C view build
- name: Publish to crate 🎉
run: cargo publish -p serverbee-web --token ${CRATES_TOKEN}
env:
CRATES_TOKEN: ${{ secrets.CRATES_TOKEN }}
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,14 @@
## `2.0.0` (2023-09-07)
### Features
#### Web
- Dashboard for web
- Config for web
- Data report

#### Deploy
- i18n
- Option of download Pre-release

### Refactor
- Refactor the config struct
- Refactor the local api
Expand Down
Loading

0 comments on commit 513f90a

Please sign in to comment.