name: Generate schedule PDFs on: workflow_dispatch: 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: | cd utils/schedule-pdf && npm ci - 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 github_token: ${{ secrets.TOKEN_DOCS }} publish_dir: ./dist/22/pdf destination_dir: ./22/pdf