mirror of
https://github.com/Websoft9/websoft9.git
synced 2024-11-25 00:50:30 +00:00
Update release.yml
This commit is contained in:
parent
b9d1d1b58f
commit
a2cb35c894
1 changed files with 14 additions and 8 deletions
22
.github/workflows/release.yml
vendored
22
.github/workflows/release.yml
vendored
|
@ -118,14 +118,20 @@ jobs:
|
|||
fi
|
||||
done
|
||||
|
||||
- name: Upload Websoft9 API to Azure
|
||||
uses: bacongobbler/azure-blob-storage-upload@main
|
||||
- name: Publish to Cloudflare Pages
|
||||
uses: cloudflare/pages-action@v1
|
||||
with:
|
||||
source_dir: apphub/apidocs
|
||||
container_name: $web
|
||||
connection_string: ${{ secrets.Azure_blob }}
|
||||
extra_args: '--destination-path ./apidocs'
|
||||
overwrite: true
|
||||
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
|
||||
accountId: eb79f13320db531d8cf1f3720966b695
|
||||
projectName: doc-websoft9-com
|
||||
directory: apphub/apidocs
|
||||
# Optional: Enable this if you want to have GitHub Deployments triggered
|
||||
gitHubToken: ${{ secrets.GITHUB_TOKEN }}
|
||||
# Optional: Switch what branch you are publishing to.
|
||||
# By default this will be the branch which triggered this workflow
|
||||
branch: main
|
||||
# Optional: Change the working directory
|
||||
workingDirectory: ./apidocs
|
||||
|
||||
pages:
|
||||
name: Build Github Pages
|
||||
|
@ -152,4 +158,4 @@ jobs:
|
|||
|
||||
- name: Deploy to GitHub Pages
|
||||
id: deployment
|
||||
uses: actions/deploy-pages@v3
|
||||
uses: actions/deploy-pages@v3
|
||||
|
|
Loading…
Reference in a new issue