From 4255930f52ed4d9aaf483100f8791904fbf08635 Mon Sep 17 00:00:00 2001 From: Natalie Weizenbaum Date: Fri, 29 Sep 2023 17:12:41 -0700 Subject: [PATCH] Update the version of Sass used by the website on release (#2102) --- .github/workflows/ci.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5a1979ced..cc616b22e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -589,7 +589,7 @@ jobs: deploy_website: name: "Deploy sass-lang.com" runs-on: ubuntu-latest - needs: [bootstrap, bourbon, foundation, bulma] + needs: [deploy_npm] if: "startsWith(github.ref, 'refs/tags/') && github.repository == 'sass/dart-sass'" steps: - uses: actions/checkout@v4 @@ -597,6 +597,13 @@ jobs: repository: sass/sass-site token: ${{ secrets.SASS_SITE_TOKEN }} + - name: Get version + id: version + run: echo "version=${GITHUB_REF##*/}" | tee --append "$GITHUB_OUTPUT" + + - name: Update Dart Sass version + run: npm install sass@${{ steps.version.outputs.version }} + - uses: EndBug/add-and-commit@v9 with: author_name: Sass Bot