Skip to content

Commit

Permalink
fix copy script (#28)
Browse files Browse the repository at this point in the history
* bump node version

* fix syntax

* test

* test2

* fix yarn usage

* use apt

* bump version

* revert to yarn

* jq is preinstalled

* add set pipe
  • Loading branch information
tac0turtle authored Sep 11, 2023
1 parent 9f7cfd9 commit d736f9e
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 5 deletions.
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
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

0 comments on commit d736f9e

Please sign in to comment.