Skip to content

Commit ef29681

Browse files
committed
2 parents 110bf9b + 7dcee48 commit ef29681

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

.github/workflows/deploy.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
on: push
2+
name: 🚀 Deploy website on push
3+
jobs:
4+
web-deploy:
5+
name: 🎉 Deploy
6+
runs-on: ubuntu-latest
7+
steps:
8+
- name: 🚚 Get latest code
9+
uses: actions/checkout@v3
10+
- name: Setup .NET Core
11+
uses: actions/[email protected]
12+
with:
13+
dotnet-version: 7.0.x
14+
- name: Install dependencies
15+
run: dotnet restore
16+
- name: Build with dotnet
17+
run: dotnet build --configuration Release --no-restore
18+
- name: Publish
19+
run: dotnet publish CodeBeamMudExtensions.sln -c Release -f net7.0 --output ./Release
20+
21+
- name: 📂 Sync files
22+
uses: SamKirkland/[email protected]
23+
with:
24+
server: codebeam.org
25+
username: ${{ secrets.ftp_username }}
26+
password: ${{ secrets.ftp_password }}
27+
local-dir: ./Release/wwwroot/
28+
server-dir: ./mudextensions/

0 commit comments

Comments
 (0)