0
0
mirror of https://github.com/fawazahmed0/exchange-api.git synced 2025-06-30 02:31:14 +00:00

also deploy to cloudflare pages

This commit is contained in:
Fawaz Ahmed 2024-03-01 11:43:41 +05:30
parent cf79d23f15
commit 4fc1e611f3
3 changed files with 1258 additions and 0 deletions

View File

@ -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:

1248
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -4,5 +4,8 @@
"dependencies": {
"fs-extra": "^11.2.0",
"playwright": "^1.42.0"
},
"devDependencies": {
"wrangler": "^3.30.1"
}
}