Skip to content

Commit

Permalink
Merge pull request #6 from melissawm/dart-pages
Browse files Browse the repository at this point in the history
Install DART SASS for ghpages
  • Loading branch information
melissawm authored Aug 13, 2024
2 parents db0cb76 + 23c0f37 commit 71d678b
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions .github/workflows/deploy_website.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,15 +33,19 @@ jobs:
wget -O ${{ runner.temp }}/hugo.deb https://github.com/gohugoio/hugo/releases/download/v0.131.0/hugo_extended_0.131.0_linux-amd64.deb \
&& sudo dpkg -i ${{ runner.temp }}/hugo.deb
- name: Install Dart Sass Embedded # Installs dart-sass
run: sudo snap install dart-sass-embedded

- name: Build with Hugo
run: |
git submodule update --init --recursive # fetch theme
make html
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: ./public

- name: Deploy pages
uses: actions/deploy-pages@v4
with:
folder: ./public
repository-name: scientific-python-translations/scientific-python-translations.github.com
branch: main
token: ${{ secrets.PERSONAL_TOKEN }}

0 comments on commit 71d678b

Please sign in to comment.