Skip to content

docs: agregar sección "Usado por" en index.md con información sobre U… #6

docs: agregar sección "Usado por" en index.md con información sobre U…

docs: agregar sección "Usado por" en index.md con información sobre U… #6

Workflow file for this run

name: Deploy Documentation to GitHub Pages
on:
push:
branches: [ main, master ]
paths: [ 'docs/**', '.github/workflows/docs.yml' ]
pull_request:
branches: [ main, master ]
paths: [ 'docs/**', '.github/workflows/docs.yml' ]
permissions:
contents: read
pages: write
id-token: write
concurrency:
group: "pages"
cancel-in-progress: false
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: '3.2' # Puedes usar otra versión si lo deseas
bundler-cache: true
working-directory: docs
- name: Setup Pages
uses: actions/configure-pages@v4
id: page-setup
- name: Build with Jekyll
run: |
cd docs
bundle exec jekyll build --baseurl "${{ steps.page-setup.outputs.base_path }}"
env:
JEKYLL_ENV: production
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: docs/_site
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
needs: build
if: github.ref == 'refs/heads/main' || github.ref == 'refs/heads/master'
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4