@sikka/hawa 0.1.67 → 0.1.70

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,21 @@
1
+ name: Vercel Preview Deployment
2
+ env:
3
+ VERCEL_ORG_ID: ${{ secrets.VERCEL_ORG_ID }}
4
+ VERCEL_PROJECT_ID: ${{ secrets.VERCEL_PROJECT_ID }}
5
+ on:
6
+ push:
7
+ branches-ignore:
8
+ - main
9
+ jobs:
10
+ Deploy-Preview:
11
+ runs-on: ubuntu-latest
12
+ steps:
13
+ - uses: actions/checkout@v2
14
+ - name: Install Vercel CLI
15
+ run: npm install --global vercel@latest
16
+ - name: Pull Vercel Environment Information
17
+ run: vercel pull --yes --environment=preview --token=${{ secrets.VERCEL_TOKEN }}
18
+ - name: Build Project Artifacts
19
+ run: vercel build --token=${{ secrets.VERCEL_TOKEN }}
20
+ - name: Deploy Project Artifacts to Vercel
21
+ run: vercel deploy --prebuilt --token=${{ secrets.VERCEL_TOKEN }}
@@ -0,0 +1,21 @@
1
+ name: Vercel Production Deployment
2
+ env:
3
+ VERCEL_ORG_ID: ${{ secrets.VERCEL_ORG_ID }}
4
+ VERCEL_PROJECT_ID: ${{ secrets.VERCEL_PROJECT_ID }}
5
+ on:
6
+ push:
7
+ branches:
8
+ - 1main
9
+ jobs:
10
+ Deploy-Production:
11
+ runs-on: ubuntu-latest
12
+ steps:
13
+ - uses: actions/checkout@v2
14
+ - name: Install Vercel CLI
15
+ run: npm install --global vercel@latest
16
+ - name: Pull Vercel Environment Information
17
+ run: vercel pull --yes --environment=production --token=${{ secrets.VERCEL_TOKEN }}
18
+ - name: Build Project Artifacts
19
+ run: cd landing && vercel build --prod --token=${{ secrets.VERCEL_TOKEN }}
20
+ - name: Deploy Project Artifacts to Vercel
21
+ run: vercel deploy --prebuilt --prod --token=${{ secrets.VERCEL_TOKEN }}
@@ -1,4 +1,4 @@
1
- name: Hawa Build, Publish to NPM, and Deploy
1
+ name: Hawa Build and Publish on Push
2
2
 
3
3
  on:
4
4
  push:
@@ -52,34 +52,14 @@ jobs:
52
52
  env:
53
53
  NODE_AUTH_TOKEN: ${{secrets.npm_token}}
54
54
  deploy:
55
- runs-on: [self-hosted, linux, x64, sikka-sofware-server-development]
56
-
57
- strategy:
58
- matrix:
59
- node-version: [14.x]
55
+ runs-on: ubuntu-latest
60
56
  steps:
61
57
  - uses: actions/checkout@v2
62
-
63
- - name: Use Node.js ${{ matrix.node-version }}
64
- uses: actions/setup-node@v2
65
- with:
66
- node-version: ${{ matrix.node-version }}
67
-
68
- - name: Install and Build Storybook
69
- run: |
70
- rm -fr /home/cloudpanel/htdocs/hawa.style || true
71
- npm install
72
- npm run build-storybook
73
-
74
- - name: Install beta-tayar.sikka.io
75
- run: |
76
- cd /var/www/html/sikka-software/_work/Hawa/Hawa/landing
77
- mv .env.beta .env.production || true
78
- rm -fr package-lock.json || true
79
- rm -fr node_modules || true
80
- npm install
81
- npm run build --if-present
82
- ln -s /var/www/html/sikka-software/_work/Hawa/Hawa/landing /home/cloudpanel/htdocs/hawa.style
83
- pm2 stop hawa-style || true
84
- pm2 delete hawa-style || true
85
- pm2 start npm --name "hawa-style" -- start || true
58
+ - name: Install Vercel CLI
59
+ run: npm install --global vercel@latest
60
+ - name: Pull Vercel Environment Information
61
+ run: vercel pull --yes --environment=production --token=${{ secrets.VERCEL_TOKEN }}
62
+ - name: Build Project Artifacts
63
+ run: cd landing && vercel build --prod --token=${{ secrets.VERCEL_TOKEN }}
64
+ - name: Deploy Project Artifacts to Vercel
65
+ run: vercel deploy --prebuilt --prod --token=${{ secrets.VERCEL_TOKEN }}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sikka/hawa",
3
- "version": "0.1.67",
3
+ "version": "0.1.70",
4
4
  "description": "Modern UI Kit made with Tailwind & Radix Primitives",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -1,39 +0,0 @@
1
- name: Hawa Style Deployment CI
2
-
3
- on:
4
- push:
5
- branches: [madin]
6
-
7
- jobs:
8
- build:
9
- runs-on: [self-hosted, linux, x64, sikka-sofware-server-development]
10
-
11
- strategy:
12
- matrix:
13
- node-version: [14.x]
14
- steps:
15
- - uses: actions/checkout@v2
16
-
17
- - name: Use Node.js ${{ matrix.node-version }}
18
- uses: actions/setup-node@v2
19
- with:
20
- node-version: ${{ matrix.node-version }}
21
-
22
- - name: Install and Build Storybook
23
- run: |
24
- rm -fr /home/cloudpanel/htdocs/hawa.style || true
25
- npm install
26
- npm run build-storybook
27
-
28
- - name: Install beta-tayar.sikka.io
29
- run: |
30
- cd /var/www/html/sikka-software/_work/Hawa/Hawa/landing
31
- mv .env.beta .env.production || true
32
- rm -fr package-lock.json || true
33
- rm -fr node_modules || true
34
- npm install
35
- npm run build --if-present
36
- ln -s /var/www/html/sikka-software/_work/Hawa/Hawa/landing /home/cloudpanel/htdocs/hawa.style
37
- pm2 stop hawa-style || true
38
- pm2 delete hawa-style || true
39
- pm2 start npm --name "hawa-style" -- start || true