mirror of
https://github.com/cotes2020/jekyll-theme-chirpy.git
synced 2025-06-07 16:17:50 +00:00
Drop the deprecating command set-env
in actions workflow.
replace with environment files
This commit is contained in:
parent
ea5b6cf1f6
commit
d314c02a13
3
.github/workflows/pages-deploy.yml.hook
vendored
3
.github/workflows/pages-deploy.yml.hook
vendored
@ -10,6 +10,7 @@ on:
|
||||
|
||||
jobs:
|
||||
continuous-delivery:
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
env:
|
||||
@ -59,7 +60,7 @@ jobs:
|
||||
run: |
|
||||
baseurl="$(grep '^baseurl:' _config.yml | yq r - baseurl)"
|
||||
if [[ -n $baseurl ]]; then
|
||||
echo "::set-env name=SPEC_TEST::_site_no_baseurl"
|
||||
echo "SPEC_TEST=_site_no_baseurl" >> $GITHUB_ENV
|
||||
fi
|
||||
|
||||
- name: Build Site
|
||||
|
Loading…
x
Reference in New Issue
Block a user