Skip to content

Commit 3d1a88a

Browse files
authored
Merge pull request #6 from xnodeoncode/feature/deploy-update
Feature/deploy update
2 parents 2de0415 + 08ebdc1 commit 3d1a88a

232 files changed

Lines changed: 20 additions & 65370 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/deploy.yml

Lines changed: 19 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,19 +24,36 @@ jobs:
2424
run: dotnet restore Aquiis.sln
2525

2626
- name: Publish
27-
run: dotnet publish ./Aquiis.SimpleStart/Aquiis.SimpleStart.csproj -c Release -o ./publish
27+
run: dotnet publish ./Aquiis.SimpleStart/Aquiis.SimpleStart.csproj -c Release -o ${{ github.workspace }}/publish
2828

2929
- name: Azure Login (for deployment)
3030
uses: azure/login@v1
3131
with:
3232
creds: ${{ secrets.AZURE_CREDENTIALS }}
3333

34+
- name: Show publish output
35+
run: |
36+
echo "Publish folder contents:"
37+
ls -la "${{ github.workspace }}/publish" || true
38+
du -sh "${{ github.workspace }}/publish" || true
39+
40+
- name: Zip publish output
41+
run: |
42+
cd "${{ github.workspace }}"
43+
if [ -d ./publish ]; then
44+
rm -f publish.zip
45+
zip -r publish.zip publish
46+
else
47+
echo "ERROR: publish folder not found" && exit 3
48+
fi
49+
3450
- name: Deploy with Azure CLI
3551
run: |
3652
az webapp deploy \
3753
--resource-group ${{ secrets.AZURE_RESOURCE_GROUP }} \
3854
--name ${{ secrets.AZURE_WEBAPP_NAME }} \
39-
--src-path ./publish
55+
--src-path "${{ github.workspace }}/publish.zip" \
56+
--type zip
4057
4158
- name: Save publish profile to file
4259
run: |

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,3 +29,4 @@ publish_profile.xml
2929
# Python virtual environment created per-project
3030
.venv/
3131

32+
obj/

obj/Host/.vscode/launch.json

Lines changed: 0 additions & 32 deletions
This file was deleted.

obj/Host/.vscode/tasks.json

Lines changed: 0 additions & 16 deletions
This file was deleted.

obj/Host/api/app.js

Lines changed: 0 additions & 252 deletions
This file was deleted.

0 commit comments

Comments
 (0)