Skip to content
This repository has been archived by the owner on Nov 6, 2023. It is now read-only.

[Publication] Daily auto-publish must be configured #47

Closed
3 of 8 tasks
kptdobe opened this issue Nov 1, 2021 · 7 comments
Closed
3 of 8 tasks

[Publication] Daily auto-publish must be configured #47

kptdobe opened this issue Nov 1, 2021 · 7 comments
Assignees

Comments

@kptdobe
Copy link
Contributor

kptdobe commented Nov 1, 2021

Everyday, the content is auto published. This requires some configuration in the query-index AND the new coming "crontab" feature https://github.com/adobe/helix-slack-bot/issues/249.
Publication times must be aligned with the current ones.

  • en
  • ko
  • jp
  • it
  • fr
  • es
  • de
  • br

@dominique-pfister Can you help here too ?

@dominique-pfister
Copy link
Contributor

dominique-pfister commented Nov 1, 2021

Please elaborate what auto publish is expected to do:

  • should it take the pattern for that day (e.g. 2021-11-01) and actually publish those pages?
  • or should the pages already "be there" and just the index updated at the designated time?

@kptdobe
Copy link
Contributor Author

kptdobe commented Nov 1, 2021

Good point. Probably more complicated that initially thought.

I see to variables:

  • the time configured in the query-index which defines "when is the beginning of the day for a region" - i.e. when articles go from raw-index to helix-default sheets
  • some timer that publish the index automatically "at the beginning of the day of a region"

Today, if author did not hit publish, it still works. It will not anymore.

I suggest that we start simple, i.e. just update the index at a given time every day for each region. If articles are missing frequently, we could considering adding more magic.

WDYT ?

@dominique-pfister
Copy link
Contributor

Sounds good, that should be easily doable.

@rofe
Copy link
Contributor

rofe commented Nov 5, 2021

@dominique-pfister we currently only automate en and ko, while the rest of the regions is publishing manually, right? We should keep that the same.

@dominique-pfister
Copy link
Contributor

dominique-pfister commented Nov 5, 2021

Just remembered: fr is already automatically published.

@dominique-pfister
Copy link
Contributor

dominique-pfister commented Nov 8, 2021

Prepared switch in our Google Apps Script to invoke admin's publish index API at the designated times. Next, they will automatically be invoked by Scheduled Publishing.

@kptdobe
Copy link
Contributor Author

kptdobe commented Nov 10, 2021

The scheduling worked yesterday. Closing issue.

@kptdobe kptdobe closed this as completed Nov 10, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants