mirror of https://github.com/dapr/docs.git
Use separate build step to avoid incompatible Hugo version with Oryx
Signed-off-by: Marc Duiker <marcduiker@users.noreply.github.com>
This commit is contained in:
parent
9576fc0701
commit
3376e0caa7
|
|
@ -27,7 +27,11 @@ jobs:
|
||||||
cd ..
|
cd ..
|
||||||
sudo npm install -D --save autoprefixer
|
sudo npm install -D --save autoprefixer
|
||||||
sudo npm install -D --save postcss-cli
|
sudo npm install -D --save postcss-cli
|
||||||
- name: Build And Deploy
|
- name: Build Hugo Website
|
||||||
|
run: |
|
||||||
|
git config --global --add safe.directory /github/workspace
|
||||||
|
hugo
|
||||||
|
- name: Deploy Website
|
||||||
id: builddeploy
|
id: builddeploy
|
||||||
uses: Azure/static-web-apps-deploy@v1
|
uses: Azure/static-web-apps-deploy@v1
|
||||||
env:
|
env:
|
||||||
|
|
@ -40,10 +44,8 @@ jobs:
|
||||||
action: "upload"
|
action: "upload"
|
||||||
###### Repository/Build Configurations - These values can be configured to match your app requirements. ######
|
###### Repository/Build Configurations - These values can be configured to match your app requirements. ######
|
||||||
# For more information regarding Static Web App workflow configurations, please visit: https://aka.ms/swaworkflowconfig
|
# For more information regarding Static Web App workflow configurations, please visit: https://aka.ms/swaworkflowconfig
|
||||||
app_location: "/" # App source code path
|
app_location: "/daprdocs/public" # App source code path
|
||||||
api_location: "api" # Api source code path - optional
|
output_location: "/" # Built app content directory - optional
|
||||||
output_location: "/daprdocs/public" # Built app content directory - optional
|
|
||||||
app_build_command: "git config --global --add safe.directory /github/workspace && hugo"
|
|
||||||
###### End of Repository/Build Configurations ######
|
###### End of Repository/Build Configurations ######
|
||||||
|
|
||||||
close_pull_request_job:
|
close_pull_request_job:
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue