@sikka/hawa 0.1.66 → 0.1.69

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
+ - main
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: 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,6 +1,3 @@
1
- # This workflow will run tests using node and then publish a package to GitHub Packages when a release is created
2
- # For more information see: https://help.github.com/actions/language-and-framework-guides/publishing-nodejs-packages
3
-
4
1
  name: Hawa Build and Publish on Push
5
2
 
6
3
  on:
@@ -26,24 +23,6 @@ jobs:
26
23
  env:
27
24
  GH_TOKEN: ${{ secrets.GH_TOKEN }}
28
25
 
29
- # # Deployment job
30
- # deploy:
31
- # runs-on: ubuntu-latest
32
- # environment:
33
- # name: github-pages
34
- # url: ${{ steps.deployment.outputs.page_url }}
35
- # needs: build
36
- # steps:
37
- # - name: Deploy to GitHub Pages
38
- # id: deployment
39
- # uses: actions/deploy-pages@v2
40
- # # with:
41
- # # branch: gh-pages
42
- # # folder: docs
43
- # # - name: Deploy to GitHub Pages
44
- # # id: deployment
45
- # # uses: actions/deploy-pages@v2
46
-
47
26
  # Publishing to NPM
48
27
  publish:
49
28
  needs: build
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sikka/hawa",
3
- "version": "0.1.66",
3
+ "version": "0.1.69",
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: [main]
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