Skip to content

Collect

Collect #951

Workflow file for this run

name: "Collect"
on:
workflow_dispatch:
push:
branches:
- master
paths:
- 'config.json'
schedule:
- cron: '0 0 * * *'
env:
cache-version: 1
jobs:
collect:
uses: skaut/poptavky/.github/workflows/reusable-collect.yml@master
secrets:
PAT: ${{ secrets.PAT_PETA }}
deploy:
name: "Deploy collected listings"
runs-on: ubuntu-latest
needs: collect
defaults:
run:
working-directory: packages/collector
steps:
- name: "Checkout"
uses: actions/checkout@v4
- name: "Download artifact"
uses: actions/download-artifact@v4
with:
name: "listings"
path: dist
- name: Deploy
uses: JamesIves/[email protected]
with:
branch: gh-pages
folder: dist
clean: false
single-commit: true