-
-
Notifications
You must be signed in to change notification settings - Fork 2
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
bac3f0f
commit c1a6c9d
Showing
1 changed file
with
29 additions
and
1 deletion.
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 |
---|---|---|
|
@@ -62,4 +62,32 @@ jobs: | |
git commit -m "Update website-en branch" | ||
git push --force --quiet origin HEAD:refs/heads/website-en | ||
env: | ||
PERSONAL_ACCESS_TOKEN: ${{ secrets.PERSONAL_ACCESS_TOKEN }} | ||
PERSONAL_ACCESS_TOKEN: ${{ secrets.PERSONAL_ACCESS_TOKEN }} | ||
|
||
# - name: Download cf-workers-site-template repository | ||
# run: | | ||
# git clone https://github.com/simeononsecurity/cf-workers-site-template | ||
|
||
# - name: Create cf-workers-site-template/public directory | ||
# run: mkdir -p cf-workers-site-template/public | ||
|
||
# - name: Move files to cf-workers-site-template/public | ||
# run: | | ||
# find . -maxdepth 1 -not -name "cf-workers-site-template" -exec mv {} cf-workers-site-template/public/ \; | ||
|
||
# - name: Publish the site | ||
# run: | | ||
# cd cf-workers-site-template | ||
# yarn global add wrangler | ||
# yarn install | ||
# yarn global list | ||
# npm update -g wrangler | ||
# echo "${CLOUDFLARE_API_TOKEN}" | npx @cloudflare/wrangler config | ||
# yarn run publish | ||
|
||
# # - name: Deploy to Cloudflare Workers | ||
# # uses: cloudflare/[email protected] | ||
# # with: | ||
# # apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }} | ||
# # accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }} | ||
# # workingDirectory: "cf-workers-site-template" |