diff --git a/.gitea/workflows/deploy.yml b/.gitea/workflows/deploy.yml index ac5e11d..2ae9ad1 100644 --- a/.gitea/workflows/deploy.yml +++ b/.gitea/workflows/deploy.yml @@ -23,20 +23,20 @@ jobs: - uses: actions/checkout@v4 - name: Add dotnet + node to PATH - shell: pwsh + shell: powershell run: | echo "C:\Program Files\dotnet" >> $env:GITHUB_PATH echo "C:\Program Files\nodejs" >> $env:GITHUB_PATH - name: Show tool versions - shell: pwsh + shell: powershell run: | & 'C:\Program Files\dotnet\dotnet.exe' --version & 'C:\Program Files\nodejs\node.exe' --version & 'C:\Program Files\nodejs\npm.cmd' --version - name: Build backend - shell: pwsh + shell: powershell run: | & 'C:\Program Files\dotnet\dotnet.exe' restore SolutionErp.slnx & 'C:\Program Files\dotnet\dotnet.exe' publish src/Backend/SolutionErp.Api/SolutionErp.Api.csproj ` @@ -46,14 +46,14 @@ jobs: --self-contained false - name: Build fe-admin - shell: pwsh + shell: powershell working-directory: fe-admin run: | & 'C:\Program Files\nodejs\npm.cmd' ci & 'C:\Program Files\nodejs\npm.cmd' run build - name: Build fe-user - shell: pwsh + shell: powershell working-directory: fe-user run: | & 'C:\Program Files\nodejs\npm.cmd' ci @@ -61,7 +61,7 @@ jobs: - name: Deploy to IIS (local) if: github.ref == 'refs/heads/main' - shell: pwsh + shell: powershell env: JWT_SECRET: ${{ secrets.JWT_SECRET }} DB_CONNECTION: ${{ secrets.DB_CONNECTION }} @@ -110,7 +110,7 @@ jobs: - name: Smoke test if: github.ref == 'refs/heads/main' - shell: pwsh + shell: powershell run: | Start-Sleep -Seconds 10 try {