spec icon indicating copy to clipboard operation
spec copied to clipboard

Extend workflow responsible for spec update in website repo with `button` addition

Open derberg opened this issue 3 years ago • 2 comments

With each release now, we would have to do https://github.com/asyncapi/website/pull/720

The manual changes introduced in ☝🏼 PR should be automated, basically this workflow needs to be extended.

derberg avatar May 09 '22 14:05 derberg

hey, I want to work on this. Can you please specify on which file to work?

saigoud25 avatar Jun 25 '22 22:06 saigoud25

@saigoud25 Thanks!

edit must be done in these 2 files:

  • https://github.com/asyncapi/spec/blob/master/.github/workflows/new-spec-release.yml
  • https://github.com/asyncapi/spec/blob/master/.github/workflows/update-spec.yaml

father step "Copy Spec file from Current Repo to Another" and before table of contents removal. Best if you refactor https://github.com/asyncapi/spec/blob/master/.github/scripts/remove-toc.js that already does read the spec file, so you would not have to create new script with the same functionality. Jsut rename remove-toc.js to something more generic and have there a function for ToC removal, and add new function that adds button at the end of the spec file.

Of course ask if you need more help 🍺

derberg avatar Jun 27 '22 09:06 derberg

This issue has been automatically marked as stale because it has not had recent activity :sleeping:

It will be closed in 120 days if no further activity occurs. To unstale this issue, add a comment with a detailed explanation.

There can be many reasons why some specific issue has no activity. The most probable cause is lack of time, not lack of interest. AsyncAPI Initiative is a Linux Foundation project not owned by a single for-profit company. It is a community-driven initiative ruled under open governance model.

Let us figure out together how to push this issue forward. Connect with us through one of many communication channels we established here.

Thank you for your patience :heart:

github-actions[bot] avatar Oct 26 '22 00:10 github-actions[bot]

Can I take up this issue? I would like to work on it.

Shofiya2003 avatar Jan 28 '23 13:01 Shofiya2003

@derberg does this PR solve this issue, or we will still need changes in the workflow files?

Shofiya2003 avatar Jan 28 '23 14:01 Shofiya2003

@Shofiya2003 yup, https://github.com/asyncapi/website/pull/1188 solves this issue, thanks for the info

derberg avatar Jan 30 '23 08:01 derberg