Skip to content

Commit 430e047

Browse files
Mashrul Haquemashrulhaque
authored andcommitted
Add GitHub Actions workflow for auto-deploy sample app
Adds live demo link to README
1 parent 195a24e commit 430e047

2 files changed

Lines changed: 23 additions & 0 deletions

File tree

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: Deploy Sample App
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
workflow_dispatch:
8+
9+
jobs:
10+
deploy:
11+
runs-on: ubuntu-latest
12+
13+
steps:
14+
- name: Deploy to Server
15+
uses: appleboy/[email protected]
16+
with:
17+
host: ${{ secrets.DEPLOY_HOST }}
18+
username: ${{ secrets.DEPLOY_USER }}
19+
key: ${{ secrets.DEPLOY_KEY }}
20+
script: /home/mashrul/deploy-blazorstore.sh

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@
1111
<a href="https://mashrulhaque.github.io/EasyAppDev.Blazor.Store/">
1212
<img src="https://img.shields.io/badge/📚_Full_Documentation-4A90E2?style=for-the-badge" alt="Documentation" />
1313
</a>
14+
<a href="http://blazorstore.easyappdev.com/">
15+
<img src="https://img.shields.io/badge/🚀_Live_Demo-28A745?style=for-the-badge" alt="Live Demo" />
16+
</a>
1417
</div>
1518

1619
> **Upgrading from v1.x?** See [Breaking Changes in v2.0.0](#breaking-changes-in-v200) for migration guide.

0 commit comments

Comments
 (0)