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:
parent
cf79d23f15
commit
4fc1e611f3
7
.github/workflows/run.yml
vendored
7
.github/workflows/run.yml
vendored
@ -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
1248
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@ -4,5 +4,8 @@
|
||||
"dependencies": {
|
||||
"fs-extra": "^11.2.0",
|
||||
"playwright": "^1.42.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"wrangler": "^3.30.1"
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user