Skip to content

Commit

Permalink
chore: move to cloudflare pages
Browse files Browse the repository at this point in the history
  • Loading branch information
gouravkhunger committed Jun 29, 2023
1 parent 436f12f commit 05c4bfa
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/publish-site.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,11 +77,11 @@ jobs:
BEYONDWORDS_API_KEY: ${{ secrets.BEYONDWORDS_API_KEY }}
BEYONDWORDS_PROJECT_ID: ${{ secrets.BEYONDWORDS_PROJECT_ID }}

- name: Deploy to gh-pages
if: steps.changes.outputs.files == 'true' || github.event_name == 'workflow_dispatch'
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: _site
user_name: 'github-actions[bot]'
user_email: 'github-actions[bot]@users.noreply.github.com'
- name: Deploy site
uses: cloudflare/pages-action@1
with:
directory: '_site'
projectName: 'genicsblog'
gitHubToken: ${{ secrets.GITHUB_TOKEN }}
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}

1 comment on commit 05c4bfa

@vercel
Copy link

@vercel vercel bot commented on 05c4bfa Jun 29, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

genicsblog – ./

genicsblog-genics.vercel.app
genicsblog.vercel.app
genicsblog-git-main-genics.vercel.app

Please sign in to comment.