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

fix copy script #28

Merged
merged 10 commits into from
Sep 11, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
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
9 changes: 5 additions & 4 deletions .github/workflows/copy-md.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,10 @@ name: Copy MD Files

on:
workflow_dispatch:
schedule:
schedule:
- cron: '0 0,12 * * *'


jobs:
sync-docs:
runs-on: ubuntu-latest
Expand All @@ -13,13 +15,12 @@ jobs:
uses: actions/checkout@v2

- name: Set Up Node.js
uses: actions/setup-node@v2
uses: actions/setup-node@v3
with:
node-version:
node-version: 16

- name: Install Dependencies
run: |
npm install -g jq
yarn install --frozen-lockfile

- name: Run Sync Script
tac0turtle marked this conversation as resolved.
Show resolved Hide resolved
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "cosmos-sdk-docs",
"version": "0.0.0",
"version": "1.0.0",
"private": true,
"scripts": {
"docusaurus": "docusaurus",
Expand Down
2 changes: 2 additions & 0 deletions sync_script.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
#!/bin/bash

set -e -o pipefail

# Set the remote repository URL to clone from
REMOTE_REPO_URL="https://github.com/cosmos/cosmos-sdk.git"

Expand Down