Skip to content

Commit

Permalink
Restored original JSON property fetch code
Browse files Browse the repository at this point in the history
  • Loading branch information
chriscarrollsmith committed Oct 4, 2023
1 parent 0a4e19b commit c83b06a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 9 deletions.
11 changes: 4 additions & 7 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,13 +32,10 @@ jobs:
with:
commit_message: 'Automated build/blog feed update'

- name: Get domain
id: get-domain
uses: notiz-dev/github-action-json-property@release
with:
path: 'src/customizations/siteproperties.json'
prop_path: 'url'
- run: echo "DOMAIN=${{ steps.get-domain.outputs.value }}" >> $GITHUB_ENV
- name: Set the domain
id: set-domain
run: |
echo "DOMAIN=$(node -e 'console.log(new URL(require("./src/customizations/siteproperties.json").url).hostname)')" >> $GITHUB_ENV
- name: Debug DOMAIN
run: echo "Debug DOMAIN=${{ env.DOMAIN }}"
Expand Down
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "promptlytechnologiesllc",
"version": "0.2.0",
"version": "0.2.1",
"author": "Christopher C. Smith",
"homepage": "https://promptlytechnologies.com",
"scripts": {
Expand All @@ -13,7 +13,6 @@
"deploy": "echo promptlytechnologies.com > ./dist/CNAME && gh-pages -d dist"
},
"dependencies": {
"@types/classnames": "^2.3.1",
"@types/react-router-hash-link": "^2.4.6",
"classnames": "^2.3.2",
"flowbite-react": "^0.4.10",
Expand Down

0 comments on commit c83b06a

Please sign in to comment.