Pour tout problème contactez-nous par mail : support@froggit.fr | La FAQ :grey_question: | Rejoignez-nous sur le Chat :speech_balloon:

Skip to content
Snippets Groups Projects
Unverified Commit 20612312 authored by Marc's avatar Marc Committed by GitHub
Browse files

Update main.yml

parent 620c1969
No related branches found
No related tags found
No related merge requests found
# This is a basic workflow to help you get started with Actions
name: CI
# Controls when the workflow will run
on:
# Triggers the workflow on push or pull request events but only for the "main" branch
push:
branches: [ "main" ]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# This workflow contains a single job called "build"
build-adoc:
# The type of runner that the job will run on
runs-on: ubuntu-latest
container: asciidoctor/docker-asciidoctor
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v3
# Runs a single command using the runners shell
- name: Use asciidoctor to build content
run: make ci-adoc
build-pandoc:
needs: build-adoc
runs-on: ubuntu-latest
......@@ -35,4 +21,15 @@ jobs:
- uses: actions/checkout@v3
- name: Use pandoc to convert content
run: pandoc --from docbook --to docx --toc --highlight-style tango -o docs/output.docx docs/output.docbook.xml --resource-path=docs
prepare-pages:
needs:
- build-adoc
- build-pandoc
runs-on: ubuntu-latest
steps:
- name: Upload GitHub Pages artifact
uses: actions/upload-pages-artifact@v1.0.4
with:
# Path of the directory containing the static assets.
path: docs/
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment