Skip to content

Commit

Permalink
Adds workflow to fetch agoradanse events
Browse files Browse the repository at this point in the history
  • Loading branch information
dev-aravind committed Sep 3, 2024
1 parent 83680a9 commit 39d62bb
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/agoradanse-events.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Fetch Agoradanse Events

on:
workflow_dispatch:
schedule:
- cron: '0 0 1 * *'

jobs:
call-workflow-to-fetch-data:
uses: ./.github/workflows/fetch-and-push-to-artsdata.yml
with:
page_url: "https://agoradanse.com/evenement/montreal-marrakech/?utm_source=fb&utm_medium=Facebook_Mobile_Feed&utm_campaign=120211877123720753&fbclid=IwZXh0bgNhZW0BMAABHToAQwEUL2gvJgRPRTTbIXvTlaiA3akDqBK4DcG97r2jWKYI1n0LQdUHEw_aem_F-kVG3LEqMQx8UnatShSEQ"
entity_identifier: "div.x-container.max a"
file_name: "agoradanse-events.jsonld"
is_paginated: "false"
headless: "false"

artsdata-push:
runs-on: ubuntu-latest
needs: call-workflow-to-fetch-data
steps:
- name: Action setup
uses: culturecreates/[email protected]
with:
artifact: agoradanse-com
publisher: "${{ secrets.PUBLISHER_URI_GREGORY }}"
downloadUrl: https://raw.githubusercontent.com/culturecreates/artsdata-orion/${{ needs.call-workflow-to-fetch-data.outputs.commit-hash }}/output/agoradanse-events.jsonld

0 comments on commit 39d62bb

Please sign in to comment.