Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: script to copy across updated files from main_repo #18

Merged
merged 3 commits into from
Sep 7, 2023
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/workflows/copy-md.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
name: Copy MD Files

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

workflow_dispatch:
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@tac0turtle question, i realise I need to change the indent but is it not fine to have the workflow_dispatch: above or should it remain below

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i dont think it matters

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Okay ill change, i need to also add in 0.50 docs into this PR (or put it into another) as npm will not run with the 0.50 as an addition in the versions file

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lets merge then do it separately. Also when we add new versions will we need to copy it over each time?

schedule:
- cron: '0 0,12 * * *'
Comment on lines +5 to +6
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
schedule:
- cron: '0 0,12 * * *'
schedule:
- cron: '0 0,12 * * *'
workflow_dispatch

for manual pushes

jobs:
sync-docs:
runs-on: ubuntu-latest
Expand Down
3 changes: 2 additions & 1 deletion versions.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
[
"0.47"
"0.47",
"0.50"
]
Loading