Skip to content

Commit

Permalink
Add missing hugo download to github actions.
Browse files Browse the repository at this point in the history
  • Loading branch information
ned14 committed Dec 15, 2020
1 parent 68bf2d6 commit 90675af
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/make_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -91,10 +91,24 @@ jobs:
fi
echo ::set-output name=HAS_DEPLOY_KEY::${HAS_DEPLOY_KEY}
- name: Get Hugo
if: steps.vars.outputs.HAS_DEPLOY_KEY
uses: actions/cache@v2
with:
path: hugo_bin
key: hugo_bin

- name: Convert to boostorg/outcome
if: steps.vars.outputs.HAS_DEPLOY_KEY
shell: bash
run: |
if [ ! -f "hugo_bin/hugo" ]; then
wget -O hugo.tar.gz https://github.com/gohugoio/hugo/releases/download/v0.52/hugo_0.52_Linux-64bit.tar.gz;
mkdir hugo_bin;
tar xf hugo.tar.gz -C hugo_bin;
fi
ls -l hugo_bin
export PATH=$PATH:`pwd`/hugo_bin
pip install --user gitpython
git remote add outcome https://github.com/ned14/outcome
git fetch outcome
Expand Down

0 comments on commit 90675af

Please sign in to comment.