Skip to content

Commit

Permalink
docs: updates on workflows
Browse files Browse the repository at this point in the history
Added information on documentation
  • Loading branch information
ADMSK\AVROGAL1 committed Mar 19, 2021
1 parent 4dda239 commit b7dc223
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/json_fields.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
uses: alexrogalskiy/github-action-json-fields@master
id: process_json
env:
target_file: "$TMPDIR/sourceData.json"
target_file: "${{ runner.temp }}/sourceData.json"
target_path: ./data
fields: 'text'
with:
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/sourceData.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
const fs = require('fs');
const path = require('path');
const os = require('os');

const sourceFile = path.resolve(path.dirname(__filename), 'sourceData.json');
const targetFile = path.resolve(os.tmpdir(), 'sourceData.json');
const targetFile = path.resolve(process.env['RUNNER_TEMP'], 'sourceData.json');

function run(args) {
const changeSet = args[0];
Expand Down
8 changes: 4 additions & 4 deletions data/bible_proverbs.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,17 +8,17 @@
{
"text": "Where there is no vision, people perish.",
"description": "",
"category": "biblical"
"category": "bible"
},
{
"text": "Blessed are the pure in heart: for they shall see God.",
"description": "",
"category": "biblical"
"category": "bible"
},
{
"text": "Unto the pure all things are pure: but unto them that are defiled and unbelieving is nothing pure; but even their mind and conscience is defiled.",
"description": "",
"category": "biblical"
"category": "bible"
},
{
"text": "All wickedness is but little to the wickedness of a woman.",
Expand Down Expand Up @@ -316,4 +316,4 @@
"category": "bible"
}
]
}
}

1 comment on commit b7dc223

@vercel
Copy link

@vercel vercel bot commented on b7dc223 Mar 19, 2021

Choose a reason for hiding this comment

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

Please sign in to comment.