further tweaks to workflows
This commit is contained in:
parent
924ea4ba8e
commit
66a03ba49c
|
@ -11,14 +11,14 @@ jobs:
|
|||
- run: echo " The job was automatically triggered by a ${{ gitea.event_name }} event."
|
||||
- run: echo " The name of your branch is ${{ gitea.ref }} and your repository is ${{ gitea.repository }}."
|
||||
- name: Check out repository code
|
||||
- uses: actions/checkout@v3
|
||||
- uses: actions/setup-dotnet@v3
|
||||
- uses: actions/setup-node@v3
|
||||
uses: actions/checkout@v3
|
||||
- run: echo " The ${{ gitea.repository }} repository has been cloned to the runner."
|
||||
- name: Build backend
|
||||
uses: actions/setup-dotnet@v3
|
||||
run: |
|
||||
dotnet publish ${{ gitea.workspace }}/csharp/App/Backend/Backend.csproj -c Release -r linux-x64 --self-contained true -p:PublishTrimmed=false
|
||||
- name: Build frontend
|
||||
uses: actions/setup-node@v3
|
||||
run: |
|
||||
npm run build
|
||||
- name: copy everything to Production
|
||||
|
|
|
@ -11,14 +11,14 @@ jobs:
|
|||
- run: echo " The job was automatically triggered by a ${{ gitea.event_name }} event."
|
||||
- run: echo " The name of your branch is ${{ gitea.ref }} and your repository is ${{ gitea.repository }}."
|
||||
- name: Check out repository code
|
||||
- uses: actions/checkout@v3
|
||||
- uses: actions/setup-dotnet@v3
|
||||
- uses: actions/setup-node@v3
|
||||
uses: actions/checkout@v3
|
||||
- run: echo " The ${{ gitea.repository }} repository has been cloned to the runner."
|
||||
- name: Build backend
|
||||
uses: actions/setup-dotnet@v3
|
||||
run: |
|
||||
dotnet publish ${{ gitea.workspace }}/csharp/App/Backend/Backend.csproj -c Release -r linux-x64 --self-contained true -p:PublishTrimmed=false
|
||||
- name: Build frontend
|
||||
uses: actions/setup-node@v3
|
||||
run: |
|
||||
npm run build
|
||||
- name: copy everything to Stage
|
||||
|
|
Loading…
Reference in New Issue