mirror of https://github.com/dapr/docs.git
Update azure-static-web-apps-agreeable-mushroom-00aa4761e.yml
This commit is contained in:
parent
3dc1745052
commit
8c4749033e
|
@ -20,6 +20,8 @@ jobs:
|
|||
submodules: recursive
|
||||
- name: Setup Docsy
|
||||
run: cd daprdocs && git submodule add https://github.com/google/docsy.git themes/docsy && git submodule update --init --recursive && sudo npm install -D --save autoprefixer && sudo npm install -D --save postcss-cli
|
||||
- name: Build Hugo
|
||||
run: pwd && ls -l ./ && hugo -d ../public
|
||||
- name: Build And Deploy
|
||||
id: builddeploy
|
||||
uses: Azure/static-web-apps-deploy@v0.0.1-preview
|
||||
|
@ -30,13 +32,11 @@ jobs:
|
|||
action: "upload"
|
||||
###### Repository/Build Configurations - These values can be configured to match you app requirements. ######
|
||||
# For more information regarding Static Web App workflow configurations, please visit: https://aka.ms/swaworkflowconfig
|
||||
app_location: "/daprdocs" # App source code path
|
||||
app_location: "daprdocs" # App source code path
|
||||
api_location: "api" # Api source code path - optional
|
||||
app_artifact_location: '/daprdocs/publish' # Built app content directory - optional
|
||||
app_build_command: mkdir /tmp/build && hugo -d /tmp/build
|
||||
app_artifact_location: '' # Built app content directory - optional
|
||||
###### End of Repository/Build Configurations ######
|
||||
- name: Test
|
||||
run: sudo ls -l /tmp/build
|
||||
|
||||
|
||||
close_pull_request_job:
|
||||
if: github.event_name == 'pull_request' && github.event.action == 'closed'
|
||||
|
|
Loading…
Reference in New Issue