Skip to content

Commit

Permalink
chore: add GH action
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcosNASA committed Jun 7, 2024
1 parent 6f78e78 commit d846492
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 3 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: Deploy

on:
push:
branches:
- main

jobs:
deploy:
runs-on: ubuntu-latest
name: Deploy
steps:
- uses: actions/checkout@v4
- name: Deploy
uses: cloudflare/wrangler-action@v3
4 changes: 1 addition & 3 deletions app/api/client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,4 @@ export const client = (url: string, options: RequestInit) => {
})
}

export const octokit = new Octokit({
auth: process.env.GITHUB_TOKEN,
})
export const octokit = new Octokit()

0 comments on commit d846492

Please sign in to comment.