Corrección Agregar workflow para generar feed RSS #2
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
name: Generate RSS Feed | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v2 | |
- name: Set up Ruby | |
uses: ruby/setup-ruby@v1 # Corrección aquí, cambié v2 por v1 | |
- name: Install dependencies | |
run: | | |
gem install jekyll bundler | |
bundle install | |
- name: Build and deploy | |
run: | | |
bundle exec jekyll build | |
cp -r _site/* $GITHUB_WORKSPACE | |
env: | |
GITHUB_WORKSPACE: ${{ github.workspace }} |