Skip to content

Commit

Permalink
Update branch_build_hugo_en.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
simeononsecurity committed Jul 14, 2023
1 parent bac3f0f commit c1a6c9d
Showing 1 changed file with 29 additions and 1 deletion.
30 changes: 29 additions & 1 deletion .github/workflows/branch_build_hugo_en.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"

0 comments on commit c1a6c9d

Please sign in to comment.