Skip to content

Commit

Permalink
Update the version of Sass used by the website on release (#2102)
Browse files Browse the repository at this point in the history
  • Loading branch information
nex3 authored Sep 30, 2023
1 parent 507e439 commit 4255930
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -589,14 +589,21 @@ 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
with:
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
Expand Down

0 comments on commit 4255930

Please sign in to comment.