Skip to content

Commit

Permalink
Eliminated deprecated syntax in deploy.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
chriscarrollsmith committed Sep 27, 2023
1 parent 293c0e3 commit 23ad3b6
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
- name: Fetch RSS Feed
uses: Promptly-Technologies-LLC/rss-fetch-action@v1
with:
feed_url: '$feedUrl'
feed_url: ${{ env.feedUrl }}
file_path: 'src/components/ui/RssFeed.json'
remove_last_build_date: true

Expand All @@ -48,12 +48,12 @@ jobs:
- 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
echo "DOMAIN=$(node -e 'console.log(new URL(require(\"./src/customizations/siteproperties.json\").url).hostname)')" >> $GITHUB_ENV
- name: Add CNAME to dist
run: |
if [[ "$Domain" != *.github.io ]]; then
echo $Domain > ./dist/CNAME
if [[ "${{ env.DOMAIN }}" != *.github.io ]]; then
echo ${{ env.DOMAIN }} > ./dist/CNAME
fi
- name: Deploy 🚀
Expand Down

0 comments on commit 23ad3b6

Please sign in to comment.