Skip to content

Commit

Permalink
also deploy to cloudflare pages
Browse files Browse the repository at this point in the history
  • Loading branch information
fawazahmed0 committed Mar 1, 2024
1 parent cf79d23 commit 4fc1e61
Show file tree
Hide file tree
Showing 3 changed files with 1,258 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/run.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,13 @@ jobs:
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

- name: Deploy to cloudflare
uses: cloudflare/wrangler-action@v3
with:
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
command: pages deploy --project-name=currency-api package

# - name: unpublish older version
# run: npm unpublish @fawazahmed0/currency-api@`date -d "94 days ago" -I | tr '-' '.'`
# env:
Expand Down
Loading

0 comments on commit 4fc1e61

Please sign in to comment.