Skip to content
This repository has been archived by the owner on Jan 30, 2024. It is now read-only.

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
dkackman committed Nov 25, 2023
2 parents 2d78ca9 + aa4bc4b commit 0e46308
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 25 deletions.
26 changes: 2 additions & 24 deletions .github/workflows/main_g2to3.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Docs for the Azure Web Apps Deploy action: https://github.com/Azure/webapps-deploy
# More GitHub Actions for Azure: https://github.com/Azure/actions

name: Build and deploy ASP.Net Core app to Azure Web App - g2to3
name: .NET

on:
push:
Expand All @@ -19,7 +19,7 @@ jobs:
- name: Set up .NET Core
uses: actions/setup-dotnet@v1
with:
dotnet-version: '7.x'
dotnet-version: '8.x'
include-prerelease: true

- name: Build with dotnet
Expand All @@ -33,25 +33,3 @@ jobs:
with:
name: .net-app
path: ${{env.DOTNET_ROOT}}/myapp

deploy:
runs-on: ubuntu-latest
needs: build
environment:
name: 'Production'
url: ${{ steps.deploy-to-webapp.outputs.webapp-url }}

steps:
- name: Download artifact from build job
uses: actions/download-artifact@v3
with:
name: .net-app

- name: Deploy to Azure Web App
id: deploy-to-webapp
uses: azure/webapps-deploy@v2
with:
app-name: 'g2to3'
slot-name: 'Production'
publish-profile: ${{ secrets.AZUREAPPSERVICE_PUBLISHPROFILE_1FC60C31816144F3BEBD557C2BD0ED69 }}
package: .
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1 +1,4 @@
# Chia Web2Gateway
# Chia Data Layer Web2 Gateway

[![.NET](https://github.com/Datalayer-Storage/Web2Gateway/actions/workflows/main_g2to3.yml/badge.svg)](https://github.com/Datalayer-Storage/Web2Gateway/actions/workflows/main_g2to3.yml)
[![CodeQL](https://github.com/Datalayer-Storage/Web2Gateway/actions/workflows/github-code-scanning/codeql/badge.svg)](https://github.com/Datalayer-Storage/Web2Gateway/actions/workflows/github-code-scanning/codeql)

0 comments on commit 0e46308

Please sign in to comment.