Skip to content

Commit

Permalink
added CICD and other changes
Browse files Browse the repository at this point in the history
  • Loading branch information
phoenixcoded20 committed Feb 23, 2024
1 parent 0d0c44f commit b20fb3d
Show file tree
Hide file tree
Showing 6 changed files with 346 additions and 326 deletions.
34 changes: 34 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: Node - SSH deploy

# Controls when the action will run.
on:
# Triggers the workflow on push or pull request events but only for the master branch
push:
branches:
- stage*
pull_request:
types:
- closed
branches:
- stage*

jobs:
if_merged:
if: github.event.pull_request.merged == true
name: 🎉 Deploy
runs-on: ubuntu-latest

steps:
- name: 🚚 Get latest code
uses: actions/checkout@v3

- name: 📂 Deploy to Server
uses: easingthemes/ssh-deploy@main
env:
SSH_PRIVATE_KEY: ${{ secrets.SERVER_SSH_KEY }}
# ARGS: "-rltgoDzvO --delete"
SOURCE: 'dist/'
REMOTE_HOST: 192.34.62.123
REMOTE_USER: mantis
TARGET: public_html/bootstrap/stage/free
EXCLUDE: '/node_modules/'
31 changes: 31 additions & 0 deletions .github/workflows/prod.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Node - SSH deploy

# Controls when the action will run.
on:
# Triggers the workflow on push or pull request events but only for the master branch
pull_request:
types:
- closed
branches:
- master

jobs:
if_merged:
if: github.event.pull_request.merged == true
name: 🎉 Deploy
runs-on: ubuntu-latest

steps:
- name: 🚚 Get latest code
uses: actions/checkout@v3

- name: 📂 Deploy to Server
uses: easingthemes/ssh-deploy@main
env:
SSH_PRIVATE_KEY: ${{ secrets.SERVER_SSH_KEY }}
# ARGS: "-rltgoDzvO --delete"
SOURCE: 'dist/'
REMOTE_HOST: 192.34.62.123
REMOTE_USER: mantis
TARGET: public_html/bootstrap/free
EXCLUDE: '/node_modules/'
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,11 +64,11 @@ Clone from Github
```
git clone https://github.com/codedthemes/mantis-free-bootstrap-admin-template.git
```
- Run Yarn
- Run Gulp
- Run ```Yarn```
- Run ```Gulp```

OR
- Goto /dist and open `index.html`
- Goto ```/dist``` and open `index.html`

## Documentation

Expand All @@ -93,13 +93,13 @@ To report a bug, please submit an [issue](https://github.com/codedthemes/mantis-

- Licensed cover under [MIT](https://github.com/codedthemes/datta-able-bootstrap-dashboard/blob/master/LICENSE)

## Mantis EcoSystem
## Mantis EcoSystem

- [Free Mantis React](https://github.com/codedthemes/mantis-free-react-admin-template) | [Mantis React Pro](https://mui.com/store/items/mantis-react-material-admin/)
- [Free Mantis Angular](https://github.com/codedthemes/mantis-free-angular-admin-template) | [Mantis Angular Pro](https://codedthemes.com/item/mantis-angular-admin-dashboard-template/)
- [Free Mantis Bootstrap](https://github.com/codedthemes/mantis-free-bootstrap-admin-template) | [Mantis Bootstrap Pro](https://codedthemes.com/item/mantis-bootstrap-admin-dashboard/)
- [Free Mantis Nodejs](https://appseed.us/product/react-node-js-mantis-dashboard) | [Mantis Nodejs Pro](https://appseed.us/full-stack/react-mantis-dashboard)

- [Mantis Vue Pro](https://codedthemes.com/item/mantis-vue-admin-template/)

## More Free Bootstrap Admin Templates

Expand Down
5 changes: 3 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
{
"name": "mantis-bootstrap-html",
"name": "mantis-free-bootstrap-admin-template",
"version": "1.0.0",
"description": "Mantis Bootstrap 5 Admin Dashboard Template",
"description": "Mantis Free Bootstrap 5 Admin Dashboard Template",
"main": "index.js",
"license":"MIT",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"author": "CodedThemes",
"private":"true",
"devDependencies": {
"@babel/core": "^7.22.5",
"@babel/preset-env": "^7.22.5",
Expand Down
Loading

0 comments on commit b20fb3d

Please sign in to comment.