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
24 changes: 14 additions & 10 deletions .github/workflows/createrelease.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,35 +71,39 @@ jobs:
path: sharedconfig.zip

deploystaging:
runs-on: [stagingserver, linux]
runs-on: [stagingserver, windows]
needs: [buildconfigpackage]
environment: staging
name: "Deploy to Staging on Linux"
name: "Deploy to Staging on Windows"

steps:
- name: Download the artifact
uses: actions/download-artifact@v4.1.7
with:
name: sharedconfig

- name: deploy config
- name: Deploy config
shell: powershell
run: |
sudo mkdir -p /home/txnproc/config
sudo unzip -o sharedconfig.zip -d /home/txnproc/config
$target = "C:\home\txnproc\config"
New-Item -ItemType Directory -Force -Path $target
Expand-Archive -Path sharedconfig.zip -DestinationPath $target -Force

deployproduction:
runs-on: [productionserver, linux]
runs-on: [productionserver, windows]
needs: [buildconfigpackage, deploystaging]
environment: production
name: "Deploy to Production on Linux"
name: "Deploy to Production on Windows"

steps:
- name: Download the artifact
uses: actions/download-artifact@v4.1.7
with:
name: sharedconfig

- name: deploy config
- name: Deploy config
shell: powershell
run: |
sudo mkdir -p /home/txnproc/config
sudo unzip -o sharedconfig.zip -d /home/txnproc/config
$target = "C:\home\txnproc\config"
New-Item -ItemType Directory -Force -Path $target
Expand-Archive -Path sharedconfig.zip -DestinationPath $target -Force
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM mcr.microsoft.com/dotnet/aspnet:9.0 AS base
FROM mcr.microsoft.com/dotnet/aspnet:10.0 AS base

WORKDIR /home/txnproc/
COPY ["/config", "config"]
Expand Down
2 changes: 1 addition & 1 deletion DockerfileWindows
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM mcr.microsoft.com/dotnet/aspnet:9.0-windowsservercore-ltsc2022 AS base
FROM mcr.microsoft.com/dotnet/aspnet:10.0-windowsservercore-ltsc2022 AS base

WORKDIR /home/txnproc/
COPY ["/config", "config"]
Expand Down
Loading