Skip to content

Commit

Permalink
Add public option to documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
Oz-Okun committed Jun 8, 2023
1 parent 2120b3a commit 7fda608
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,10 @@ inputs:
description: 'Whether or not to enable debugging for the Vite build'
required: false
default: false
public:
description: 'Whether or not to make the documentation publicly available (only works for private repositories)'
required: false
default: false
runs:
using: "composite"
steps:
Expand Down Expand Up @@ -93,6 +97,6 @@ runs:
- name: Upload files to azure storage
shell: bash
run: |
curl --request POST --header "Authorization: Bearer ${{steps.token.outputs.token}}" --header 'User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.0.0 Safari/537.36' --form Docs=@vuepress/docs/.vuepress/dist/Docs.zip "https://developer.bcc.no/UploadDoc"
curl --request POST --header "Authorization: Bearer ${{steps.token.outputs.token}}" --header 'User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.0.0 Safari/537.36' --form Docs=@vuepress/docs/.vuepress/dist/Docs.zip "https://developer.bcc.no/UploadDoc?isPublic=${{inputs.public}}"

0 comments on commit 7fda608

Please sign in to comment.