0
0
mirror of https://github.com/fawazahmed0/exchange-api.git synced 2025-06-29 18:21:14 +00:00

revert: test cloudflare deployment

This commit is contained in:
Fawaz Ahmed 2024-03-06 20:48:59 +05:30
parent bbbf7c4a69
commit 7d09719ac5

View File

@ -49,6 +49,16 @@ jobs:
- name: Set date today
run: echo "date_today=`date -I`" >> "$GITHUB_ENV"
- name: Generate tarball
run: |
7z a package.tar package -ttar
7z a package.tar.gz package.tar -tgzip -mx=9 -aoa -mfb=258 -mmt=on
- name: publish
run: npm publish --access public package.tar.gz
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
- name: Deploy to cloudflare
uses: cloudflare/wrangler-action@v3
with: