utxo-prague/.github/workflows/schedule-pdf.yml

35 řádky
809 B
YAML
Surový Normální zobrazení Historie

2022-05-28 20:05:50 +02:00
name: Generate schedule PDFs
on:
2022-05-28 20:08:35 +02:00
workflow_dispatch:
2022-05-28 20:05:50 +02:00
jobs:
deploy:
runs-on: ubuntu-latest
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: actions/setup-node@v2
with:
node-version: '17'
- name: Install npm modules
run: |
2022-05-28 20:09:49 +02:00
cd utils/schedule-pdf && npm install
2022-05-28 20:05:50 +02:00
- name: Build sources
run: make schedule-pdf
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
if: ${{ github.ref == 'refs/heads/master' }}
with:
external_repository: utxo-foundation/pub.utxo.cz
personal_token: ${{ secrets.TOKEN_DOCS }}
publish_dir: ./dist/22/pdf
destination_dir: ./22/pdf