Compare commits
1 Commits
a624328780
...
75ba955426
| Author | SHA1 | Date | |
|---|---|---|---|
| 75ba955426 |
@@ -10,18 +10,30 @@ on:
|
||||
|
||||
|
||||
jobs:
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
name: "Generation data pour merge sur master"
|
||||
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v2
|
||||
- name: Setup dotnet
|
||||
uses: actions/setup-dotnet@v3
|
||||
- name: Get build container
|
||||
id: adocbuild
|
||||
uses: tonynv/asciidoctor-action@master
|
||||
with:
|
||||
dotnet-version: '8.0.x'
|
||||
- name: Install dependencies
|
||||
run: dotnet restore ./src/LittleTown.sln
|
||||
- name: Build
|
||||
run: dotnet build ./src/LittleTown.sln
|
||||
- name: Test with the dotnet CLI
|
||||
run: dotnet test ./src/LittleTown.sln
|
||||
program: "asciidoctor -D docs --backend=html5 -o index.html documentation/readme.adoc"
|
||||
- name: Print execution time
|
||||
run: echo "Time ${{ steps.adocbuild.outputs.time }}"
|
||||
- name: Upload artifact
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user