Merge pull request #4 from itsscb/ft-add-github-action-for-deployment
Ft add GitHub action for deployment
This commit is contained in:
commit
87676d426c
8
.github/workflows/deploy.yml
vendored
8
.github/workflows/deploy.yml
vendored
@ -24,10 +24,16 @@ jobs:
|
|||||||
- name: Install Tailwind CSS
|
- name: Install Tailwind CSS
|
||||||
run: npm install -D tailwindcss
|
run: npm install -D tailwindcss
|
||||||
working-directory: ./frontend
|
working-directory: ./frontend
|
||||||
|
- name: Rename Trunk.toml
|
||||||
|
run: mv Trunk.toml Trunk.bkp
|
||||||
|
working-directory: ./frontend
|
||||||
- name: Install trunk
|
- name: Install trunk
|
||||||
run: cargo install trunk
|
run: cargo install trunk
|
||||||
- name: Build frontend
|
- name: Build frontend
|
||||||
run: trunk build --release --no-config
|
run: trunk build --release
|
||||||
|
working-directory: ./frontend
|
||||||
|
- name: Rename Trunk.toml back
|
||||||
|
run: mv Trunk.bkp Trunk.toml
|
||||||
working-directory: ./frontend
|
working-directory: ./frontend
|
||||||
|
|
||||||
# Deploy backend
|
# Deploy backend
|
||||||
|
Loading…
x
Reference in New Issue
Block a user