changement du template pour inclure l'authentification
This commit was merged in pull request #1.
This commit is contained in:
34
.gitea/workflows/merge.yaml
Normal file
34
.gitea/workflows/merge.yaml
Normal file
@@ -0,0 +1,34 @@
|
||||
name: "Main Build Process"
|
||||
|
||||
# Runs on main branch commits,
|
||||
# every commit in a pull request, any published release.
|
||||
on:
|
||||
push:
|
||||
branches: ["main"]
|
||||
pull_request:
|
||||
branches: ["main"]
|
||||
release:
|
||||
types: [published]
|
||||
|
||||
jobs:
|
||||
asciidoc:
|
||||
name: "generate documentation"
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v2
|
||||
- name: Get build container
|
||||
id: adocbuild
|
||||
uses: tonynv/asciidoctor-action@master
|
||||
with:
|
||||
program: "asciidoctor -D docs --backend=html5 -o index.html documentation/index.adoc"
|
||||
- name: Print execution time
|
||||
run: echo "Time ${{ steps.adocbuild.outputs.time }}"
|
||||
- name: Deploy docs to ghpages
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: Doc
|
||||
path: ./docs
|
||||
retention-days: 5
|
||||
Reference in New Issue
Block a user