Skip to content

Commit e17943d

Browse files
committed
Drop the deprecating command set-env in actions workflow.
replace with environment files
1 parent d7ede49 commit e17943d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/pages-deploy.yml.hook

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ on:
1010

1111
jobs:
1212
continuous-delivery:
13+
1314
runs-on: ubuntu-latest
1415

1516
env:
@@ -59,7 +60,7 @@ jobs:
5960
run: |
6061
baseurl="$(grep '^baseurl:' _config.yml | yq r - baseurl)"
6162
if [[ -n $baseurl ]]; then
62-
echo "::set-env name=SPEC_TEST::_site_no_baseurl"
63+
echo "SPEC_TEST=_site_no_baseurl" >> $GITHUB_ENV
6364
fi
6465

6566
- name: Build Site

0 commit comments

Comments
 (0)