Skip to content

Commit 71d678b

Browse files
authored
Merge pull request #6 from melissawm/dart-pages
Install DART SASS for ghpages
2 parents db0cb76 + 23c0f37 commit 71d678b

File tree

1 file changed

+9
-5
lines changed

1 file changed

+9
-5
lines changed

.github/workflows/deploy_website.yml

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -33,15 +33,19 @@ jobs:
3333
wget -O ${{ runner.temp }}/hugo.deb https://github.com/gohugoio/hugo/releases/download/v0.131.0/hugo_extended_0.131.0_linux-amd64.deb \
3434
&& sudo dpkg -i ${{ runner.temp }}/hugo.deb
3535
36+
- name: Install Dart Sass Embedded # Installs dart-sass
37+
run: sudo snap install dart-sass-embedded
38+
3639
- name: Build with Hugo
3740
run: |
3841
git submodule update --init --recursive # fetch theme
3942
make html
4043
44+
- name: Upload artifact
45+
uses: actions/upload-pages-artifact@v3
46+
with:
47+
path: ./public
48+
4149
- name: Deploy pages
4250
uses: actions/deploy-pages@v4
43-
with:
44-
folder: ./public
45-
repository-name: scientific-python-translations/scientific-python-translations.github.com
46-
branch: main
47-
token: ${{ secrets.PERSONAL_TOKEN }}
51+

0 commit comments

Comments
 (0)