Update multiple Riyadh event PDFs with new content and formatting, an… #4
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
| name: Build PDFs | |
| on: | |
| push: | |
| branches: | |
| - main | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - name: Setup Node.js | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: '20' | |
| - name: Setup pnpm | |
| uses: pnpm/action-setup@v4 | |
| with: | |
| version: 10 | |
| - name: Make build script executable | |
| run: chmod +x build.sh | |
| - name: Build all PDFs | |
| run: ./build.sh --all | |
| - name: Upload PDFs as artifacts | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: presentation-pdfs | |
| path: "*.pdf" | |
| retention-days: 30 | |