mirror of
https://github.com/neosubhamoy/neosubhamoy-portfolio.git
synced 2025-12-19 11:12:58 +05:30
(ci/cd): added steps to minify tailwindcss while deploying to production
This commit is contained in:
9
.github/workflows/main.yml
vendored
9
.github/workflows/main.yml
vendored
@@ -11,6 +11,15 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- name: 🚚 Get latest code
|
- name: 🚚 Get latest code
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
|
- name: 📦 Setup Node.js
|
||||||
|
uses: actions/setup-node@v4
|
||||||
|
with:
|
||||||
|
node-version: 20
|
||||||
|
|
||||||
|
- name: 🛠️ Run Build Process
|
||||||
|
run: |
|
||||||
|
npx tailwindcss -o "./htdocs/assets/style.css" --minify
|
||||||
|
|
||||||
- name: 📦 Update Database
|
- name: 📦 Update Database
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
Reference in New Issue
Block a user