Drop the deprecating command set-env
in actions workflow.
replace with environment files
This commit is contained in:
parent
ea5b6cf1f6
commit
d314c02a13
1 changed files with 2 additions and 1 deletions
3
.github/workflows/pages-deploy.yml.hook
vendored
3
.github/workflows/pages-deploy.yml.hook
vendored
|
@ -10,6 +10,7 @@ on:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
continuous-delivery:
|
continuous-delivery:
|
||||||
|
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
env:
|
env:
|
||||||
|
@ -59,7 +60,7 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
baseurl="$(grep '^baseurl:' _config.yml | yq r - baseurl)"
|
baseurl="$(grep '^baseurl:' _config.yml | yq r - baseurl)"
|
||||||
if [[ -n $baseurl ]]; then
|
if [[ -n $baseurl ]]; then
|
||||||
echo "::set-env name=SPEC_TEST::_site_no_baseurl"
|
echo "SPEC_TEST=_site_no_baseurl" >> $GITHUB_ENV
|
||||||
fi
|
fi
|
||||||
|
|
||||||
- name: Build Site
|
- name: Build Site
|
||||||
|
|
Loading…
Reference in a new issue