Add center alignment to images in tunnel writeup #10
This file contains hidden or 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
| # Workflow para build do Jekyll com instalação manual do Ruby | |
| name: Build and Test | |
| on: | |
| push: | |
| branches: ["main"] | |
| pull_request: | |
| branches: ["main"] | |
| jobs: | |
| build: | |
| runs-on: ubuntu-22.04 # Use ubuntu-22.04 que ainda é suportado | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| # Usar action oficial para setup do Ruby (mais confiável) | |
| - name: Setup Ruby | |
| uses: ruby/setup-ruby@v1 | |
| with: | |
| ruby-version: '3.1.4' | |
| bundler-cache: true # Automaticamente roda bundle install e faz cache | |
| # Build do site Jekyll | |
| - name: Build site | |
| run: bundle exec jekyll build | |
| env: | |
| JEKYLL_ENV: production | |
| # Opcional: Upload do artifact para debug | |
| - name: Upload build artifact | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: jekyll-build | |
| path: _site/ |