Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 19 additions & 2 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,19 +24,36 @@ jobs:
run: dotnet restore Aquiis.sln

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

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

- name: Show publish output
run: |
echo "Publish folder contents:"
ls -la "${{ github.workspace }}/publish" || true
du -sh "${{ github.workspace }}/publish" || true

- name: Zip publish output
run: |
cd "${{ github.workspace }}"
if [ -d ./publish ]; then
rm -f publish.zip
zip -r publish.zip publish
else
echo "ERROR: publish folder not found" && exit 3
fi

- name: Deploy with Azure CLI
run: |
az webapp deploy \
--resource-group ${{ secrets.AZURE_RESOURCE_GROUP }} \
--name ${{ secrets.AZURE_WEBAPP_NAME }} \
--src-path ./publish
--src-path "${{ github.workspace }}/publish.zip" \
--type zip

- name: Save publish profile to file
run: |
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -29,3 +29,4 @@ publish_profile.xml
# Python virtual environment created per-project
.venv/

obj/
32 changes: 0 additions & 32 deletions obj/Host/.vscode/launch.json

This file was deleted.

16 changes: 0 additions & 16 deletions obj/Host/.vscode/tasks.json

This file was deleted.

252 changes: 0 additions & 252 deletions obj/Host/api/app.js

This file was deleted.

Loading