Skip to content

Collect

Collect #1058

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/github-pages-deploy-action@v4.6.0
with:
branch: gh-pages
folder: dist
clean: false
single-commit: true