mirror of
https://github.com/fawazahmed0/exchange-api.git
synced 2025-08-25 03:47:10 +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:
|
env:
|
||||||
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
|
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
|
# - name: unpublish older version
|
||||||
# run: npm unpublish @fawazahmed0/currency-api@`date -d "94 days ago" -I | tr '-' '.'`
|
# run: npm unpublish @fawazahmed0/currency-api@`date -d "94 days ago" -I | tr '-' '.'`
|
||||||
# env:
|
# 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": {
|
"dependencies": {
|
||||||
"fs-extra": "^11.2.0",
|
"fs-extra": "^11.2.0",
|
||||||
"playwright": "^1.42.0"
|
"playwright": "^1.42.0"
|
||||||
|
},
|
||||||
|
"devDependencies": {
|
||||||
|
"wrangler": "^3.30.1"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user