This repository has been archived by the owner on Dec 12, 2024. It is now read-only.
Añadidas colaboradoras restantes #16
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# SPDX-FileCopyrightText: 2024 Pablo Portas López <[email protected]> | |
# | |
# SPDX-License-Identifier: GPL-3.0-only AND MIT AND Apache-2.0 | |
name: 🔬 Comprobar documentación | |
on: | |
pull_request: | |
types: ["opened"] | |
paths: ["docs/**"] | |
workflow_dispatch: | |
permissions: | |
id-token: write | |
pages: write | |
env: | |
INSTANCE: 'docs/pro' | |
ARTIFACT: 'webHelpPRO2-all.zip' | |
DOCKER_VERSION: '241.15989' | |
jobs: | |
construir: | |
name: 📦 Construir | |
runs-on: ubuntu-latest | |
steps: | |
- name: ⬇️ Checkout repositorio | |
# GitHub Actions | |
# MIT | |
# https://github.com/actions/checkout | |
uses: actions/checkout@v4 | |
- name: 🏗️ Construir con Writerside usando Docker | |
# JetBrains Open Source | |
# Apache-2.0 | |
# https://github.com/JetBrains/writerside-github-action | |
uses: JetBrains/writerside-github-action@v4 | |
with: | |
instance: ${{ env.INSTANCE }} | |
artifact: ${{ env.ARTIFACT }} | |
docker-version: ${{ env.DOCKER_VERSION }} | |
- name: ⬆️ Subir artefacto con los resultados de la construcción | |
uses: actions/upload-artifact@v3 | |
# GitHub Actions | |
# MIT | |
# https://github.com/actions/upload-artifact | |
with: | |
name: docs | |
path: | | |
artifacts/${{ env.ARTIFACT }} | |
artifacts/report.json | |
artifacts/${{ env.ALGOLIA_ARTIFACT }} | |
retention-days: 7 | |
comprobar: | |
name: 📊 Comprobar | |
needs: construir | |
runs-on: ubuntu-latest | |
steps: | |
- name: ⬇️ Descargar artefactos | |
# GitHub Actions | |
# MIT | |
# https://github.com/actions/download-artifact | |
uses: actions/download-artifact@v3 | |
with: | |
name: docs | |
path: artifacts | |
- name: 📊 Comprobar documentación | |
# JetBrains Open Source | |
# Apache-2.0 | |
# https://github.com/JetBrains/writerside-checker-action | |
uses: JetBrains/writerside-checker-action@v1 | |
with: | |
instance: ${{ env.INSTANCE }} | |