Replies: 3 comments 2 replies
-
I don't know /I don't think so (because Doks is a npm project) I'm not familiar with R blogdown /Doks was not set up with R blogdown in mind That's all I can give you... |
Beta Was this translation helpful? Give feedback.
0 replies
-
You could try running |
Beta Was this translation helpful? Give feedback.
1 reply
-
Try using a recent Node.js version and make sure to use the extended
version of Hugo. See also:
https://henkverlinde.com/continuous-integration-workflow-for-your-hyas-project/
…On Sun, Jan 31, 2021, 18:55 d2a4u ***@***.***> wrote:
hi @h-enk <https://github.com/h-enk>, I'm running into similar problem
but not related r blogdown. The problem occurs while running on github
Actions:
Start building sites …
24
Error: Error building site: TOCSS: failed to transform "scss/app.scss" (text/x-scss): resource "scss/scss/app.scss_6f53526eddd329453a95af44b07404cf" not found in file cache
25
Total in 66 ms
26
Error: Process completed with exit code 255.
Step to reproduce:
- Works fine locally
# local
git clone https://github.com/h-enk/doks.git website
cd website
npm install
hugo
# works fine locally
git add -A
git commit -m "test doks"
git push origin envelop
Github Actions on envelop branch:
name: build-website
on:
push:
branches:
- develop
paths:
- 'website/**'
jobs:
build-deploy-website:
runs-on: ubuntu-20.04
steps:
- uses: ***@***.***
with:
submodules: false
fetch-depth: 0
- name: Setup Hugo
uses: ***@***.***
with:
hugo-version: '0.79.1'
- name: Setup Node
uses: ***@***.***
with:
node-version: '12'
- name: Build
run: |
cd website
npm install
hugo
- name: Deploy
uses: ***@***.***
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./website/public
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#94 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AA5Y3GBAZK72B7JVW2NWBM3S4WKRRANCNFSM4WW4GERQ>
.
|
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Is it possible to use doks theme with r blogdown? Its installed but on blogdown::build_site() I got Error: Error building site: TOCSS: failed to transform "scss/app.scss" (text/x-scss): SCSS processing failed: file "stdin", line 2, col 1: File to import not found or unreadable: bootstrap/scss/functions.
Beta Was this translation helpful? Give feedback.
All reactions