-
Notifications
You must be signed in to change notification settings - Fork 237
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
2c13de2
commit 2d591b1
Showing
2 changed files
with
29 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -118,18 +118,34 @@ jobs: | |
fi | ||
done | ||
- name: Publish to Cloudflare Pages | ||
uses: cloudflare/pages-action@v1 | ||
with: | ||
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: dev | ||
- name: Prepare apidocs content | ||
run: | | ||
mkdir -p apidocs | ||
cp -r apphub/apidocs/* apidocs/ | ||
- name: Compress apidocs content | ||
run: | | ||
zip -r apidocs.zip apidocs | ||
- name: Deploy apidocs content to Cloudflare Pages Dev Environment | ||
run: | | ||
curl -X POST "https://api.cloudflare.com/client/v4/accounts/eb79f13320db531d8cf1f3720966b695/pages/projects/doc-websoft9-com/deployments" \ | ||
-H "Authorization: Bearer ${{ secrets.CLOUDFLARE_API_TOKEN }}" \ | ||
-F "[email protected]" \ | ||
-F "branch=dev" | ||
# - name: Publish to Cloudflare Pages | ||
# uses: cloudflare/pages-action@v1 | ||
# with: | ||
# 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: dev | ||
pages: | ||
name: Build Github Pages | ||
permissions: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
{ | ||
"version": "2.1.12-rc1", | ||
"version": "2.1.12-rc2", | ||
"plugins": { | ||
"portainer": "0.1.1", | ||
"nginx": "0.0.8", | ||
|