Skip to content

Commit e25320e

Browse files
authored
Merge pull request #32 from bogdanbrudiu/features/AddEvent
Features/add event
2 parents e29cf7f + ae8e37e commit e25320e

File tree

6 files changed

+36
-1
lines changed

6 files changed

+36
-1
lines changed

.github/workflows/build.yml

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,14 @@ jobs:
1515
- uses: actions/checkout@v3
1616
with:
1717
submodules: recursive
18+
- name: Commit and push changes
19+
run: |
20+
git config --global user.name "CD bot"
21+
git config --global user.email ""
22+
echo %date% %time% >> App_Data\dbtestfile.txt
23+
git add App_Data\dbtestfile.txt
24+
git commit -m "update db file [skip actions]"
25+
git push
1826
- name: Setup .NET
1927
uses: actions/setup-dotnet@v3
2028
with:
@@ -40,8 +48,16 @@ jobs:
4048
- name: Publish
4149
run: dotnet publish HamEvent/HamEvent.csproj --configuration Release --framework net7.0 --output ./publish --runtime win-x64 --self-contained true -p:PublishTrimmed=false -p:PublishSingleFile=false
4250
- name: Deploy
43-
uses: rasmusbuchholdt/simply-web-deploy@2.1.0
51+
uses: bogdanbrudiu/simply-web-deploy
4452
with:
53+
action: fetch&deploy
54+
sync-action: " |
55+
git config --global user.name \"CD bot\"
56+
git config --global user.email \"\"
57+
echo %date% %time% >> App_Data\dbtestfile.txt
58+
git add App_Data\dbtestfile.txt
59+
git commit -m \"update db file [skip actions]\"
60+
git push"
4561
website-name: ${{ secrets.WEBSITE_NAME }}
4662
server-computer-name: ${{ secrets.SERVER_COMPUTER_NAME }}
4763
server-username: ${{ secrets.SERVER_USERNAME }}

.gitmodules

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,6 @@
44
[submodule "CoreMailer"]
55
path = CoreMailer
66
url = https://github.com/riyasat/CoreMailer.git
7+
[submodule "simply-web-deploy"]
8+
path = simply-web-deploy
9+
url = https://github.com/bogdanbrudiu/simply-web-deploy.git

HamEvent/App_Data/QSOs.db

-4 KB
Binary file not shown.

HamEvent/App_Data/dbtestfile.txt

Whitespace-only changes.

HamEventMVP.sln

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,18 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "UnitTests", "UnitTests\Unit
1717
EndProject
1818
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "CoreMailer", "CoreMailer\CoreMailer\CoreMailer.csproj", "{3458928A-E6F3-4FA6-878B-B3729C14838B}"
1919
EndProject
20+
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "simply-web-deploy", "simply-web-deploy", "{6E07F384-23C4-43EC-BFB5-E34E871FB547}"
21+
ProjectSection(SolutionItems) = preProject
22+
simply-web-deploy\action.yml = simply-web-deploy\action.yml
23+
EndProjectSection
24+
EndProject
25+
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "scripts", "scripts", "{667EB339-38A6-4FB9-99E3-FFA71DB0787C}"
26+
ProjectSection(SolutionItems) = preProject
27+
simply-web-deploy\Scripts\Deploy-ApplicationPackage.ps1 = simply-web-deploy\Scripts\Deploy-ApplicationPackage.ps1
28+
simply-web-deploy\Scripts\Fetch-ApplicationPackage.ps1 = simply-web-deploy\Scripts\Fetch-ApplicationPackage.ps1
29+
simply-web-deploy\Scripts\Set-ApplicationPool.ps1 = simply-web-deploy\Scripts\Set-ApplicationPool.ps1
30+
EndProjectSection
31+
EndProject
2032
Global
2133
GlobalSection(SolutionConfigurationPlatforms) = preSolution
2234
Debug|Any CPU = Debug|Any CPU
@@ -43,6 +55,9 @@ Global
4355
GlobalSection(SolutionProperties) = preSolution
4456
HideSolutionNode = FALSE
4557
EndGlobalSection
58+
GlobalSection(NestedProjects) = preSolution
59+
{667EB339-38A6-4FB9-99E3-FFA71DB0787C} = {6E07F384-23C4-43EC-BFB5-E34E871FB547}
60+
EndGlobalSection
4661
GlobalSection(ExtensibilityGlobals) = postSolution
4762
SolutionGuid = {172F1AC0-54ED-4655-8A36-F090D38CBA73}
4863
EndGlobalSection

simply-web-deploy

Submodule simply-web-deploy added at 246cd37

0 commit comments

Comments
 (0)