From b7247a8ea53f0c4ddd8b57e5e48fc29f911d285d Mon Sep 17 00:00:00 2001 From: Joe Mooring Date: Tue, 8 Jul 2025 08:27:52 -0700 Subject: [PATCH] content: Remove command chaining from GitHub Actions workflow Co-authored-by: Khemarato Bhikkhu --- .../host-and-deploy/host-on-github-pages/index.md | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/content/en/host-and-deploy/host-on-github-pages/index.md b/content/en/host-and-deploy/host-on-github-pages/index.md index 165c9934c..097eae719 100644 --- a/content/en/host-and-deploy/host-on-github-pages/index.md +++ b/content/en/host-and-deploy/host-on-github-pages/index.md @@ -100,6 +100,7 @@ concurrency: # Default to bash defaults: run: + # GitHub-hosted runners automatically enable `set -eo pipefail` for Bash shells. shell: bash jobs: @@ -114,14 +115,14 @@ jobs: steps: - name: Install Hugo CLI run: | - wget -O ${{ runner.temp }}/hugo.deb https://github.com/gohugoio/hugo/releases/download/v${HUGO_VERSION}/hugo_extended_${HUGO_VERSION}_linux-amd64.deb \ - && sudo dpkg -i ${{ runner.temp }}/hugo.deb + wget -O ${{ runner.temp }}/hugo.deb https://github.com/gohugoio/hugo/releases/download/v${HUGO_VERSION}/hugo_extended_${HUGO_VERSION}_linux-amd64.deb + sudo dpkg -i ${{ runner.temp }}/hugo.deb - name: Install Dart Sass run: | - wget -O ${{ runner.temp }}/dart-sass.tar.gz https://github.com/sass/dart-sass/releases/download/${DART_SASS_VERSION}/dart-sass-${DART_SASS_VERSION}-linux-x64.tar.gz \ - && tar -xf ${{ runner.temp }}/dart-sass.tar.gz --directory ${{ runner.temp }} \ - && mv ${{ runner.temp }}/dart-sass/ /usr/local/bin \ - && echo "/usr/local/bin/dart-sass" >> $GITHUB_PATH + wget -O ${{ runner.temp }}/dart-sass.tar.gz https://github.com/sass/dart-sass/releases/download/${DART_SASS_VERSION}/dart-sass-${DART_SASS_VERSION}-linux-x64.tar.gz + tar -xf ${{ runner.temp }}/dart-sass.tar.gz --directory ${{ runner.temp }} + mv ${{ runner.temp }}/dart-sass/ /usr/local/bin + echo "/usr/local/bin/dart-sass" >> $GITHUB_PATH - name: Checkout uses: actions/checkout@v4 with: