mirror of
https://github.com/cotes2020/jekyll-theme-chirpy.git
synced 2025-06-08 00:27:58 +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:
|
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…
x
Reference in New Issue
Block a user