Compare commits

..

1 Commits

Author SHA1 Message Date
a624328780 test 2024-09-08 21:55:42 +02:00

View File

@@ -10,30 +10,18 @@ on:
jobs: jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
name: "Generation data pour merge sur master"
steps: steps:
- name: Checkout code - name: Checkout code
uses: actions/checkout@v2 uses: actions/checkout@v2
- name: Get build container - name: Setup dotnet
id: adocbuild uses: actions/setup-dotnet@v3
uses: tonynv/asciidoctor-action@master with:
with: dotnet-version: '8.0.x'
program: "asciidoctor -D docs --backend=html5 -o index.html documentation/readme.adoc" - name: Install dependencies
- name: Print execution time run: dotnet restore ./src/LittleTown.sln
run: echo "Time ${{ steps.adocbuild.outputs.time }}" - name: Build
- name: Upload artifact run: dotnet build ./src/LittleTown.sln
uses: actions/upload-artifact@v3 - name: Test with the dotnet CLI
with: run: dotnet test ./src/LittleTown.sln
name: Doc
path: ./docs
retention-days: 5
- name: build docker images
run: docker build -t gitea.borealian.ovh/mcmuzzle/ludikzone:latest -f ./docker-prod/Dockerfile .
- name: upload image
run: |
echo "${{ secrets.PERSO_GITEAPASSWORD}}" | docker login gitea.borealian.ovh --username mcmuzzle --password-stdin
docker push gitea.borealian.ovh/mcmuzzle/ludikzone:latest