mirror of
https://github.com/Websoft9/websoft9.git
synced 2025-02-02 17:08:38 +08:00
Update release.yml
This commit is contained in:
parent
b9d1d1b58f
commit
a2cb35c894
22
.github/workflows/release.yml
vendored
22
.github/workflows/release.yml
vendored
@ -118,14 +118,20 @@ jobs:
|
|||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|
||||||
- name: Upload Websoft9 API to Azure
|
- name: Publish to Cloudflare Pages
|
||||||
uses: bacongobbler/azure-blob-storage-upload@main
|
uses: cloudflare/pages-action@v1
|
||||||
with:
|
with:
|
||||||
source_dir: apphub/apidocs
|
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
|
||||||
container_name: $web
|
accountId: eb79f13320db531d8cf1f3720966b695
|
||||||
connection_string: ${{ secrets.Azure_blob }}
|
projectName: doc-websoft9-com
|
||||||
extra_args: '--destination-path ./apidocs'
|
directory: apphub/apidocs
|
||||||
overwrite: true
|
# 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:
|
pages:
|
||||||
name: Build Github Pages
|
name: Build Github Pages
|
||||||
@ -152,4 +158,4 @@ jobs:
|
|||||||
|
|
||||||
- name: Deploy to GitHub Pages
|
- name: Deploy to GitHub Pages
|
||||||
id: deployment
|
id: deployment
|
||||||
uses: actions/deploy-pages@v3
|
uses: actions/deploy-pages@v3
|
||||||
|
Loading…
Reference in New Issue
Block a user