Update azure-static-web-apps-agreeable-mushroom-00aa4761e.yml

This commit is contained in:
Aaron Crawfis 2020-09-14 18:43:38 -07:00 committed by GitHub
parent 3dc1745052
commit 8c4749033e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 5 deletions

View File

@ -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'