diff options
author | peaceiris <30958501+peaceiris@users.noreply.github.com> | 2020-10-12 00:04:56 +0300 |
---|---|---|
committer | peaceiris <30958501+peaceiris@users.noreply.github.com> | 2020-10-12 00:04:56 +0300 |
commit | 0b8448320cd17b7d5a1b1d3991727e4044466e7b (patch) | |
tree | b018bb64d85772949c938ec1570b6a34aca74f2d | |
parent | 1e7ca2670fc135c5c4a2d6a5ee1813a2d35682b7 (diff) |
ci: add .nvmrc stepfontawesome
-rw-r--r-- | .github/workflows/deploy-github-pages.yml | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/.github/workflows/deploy-github-pages.yml b/.github/workflows/deploy-github-pages.yml index ce4f7f0c..f9de85ac 100644 --- a/.github/workflows/deploy-github-pages.yml +++ b/.github/workflows/deploy-github-pages.yml @@ -24,6 +24,14 @@ jobs: steps: - uses: actions/checkout@v2 + - name: Read .nvmrc + run: echo "::set-output name=NVMRC::$(cat .nvmrc)" + id: nvm + + - uses: actions/setup-node@v1 + with: + node-version: '${{ steps.nvm.outputs.NVMRC }}' + - name: Read .env id: hugo_version run: | |