fix: wrangler depdencies + env name update
This commit is contained in:
parent
2fe0b52fcf
commit
b5a10e46d9
1 changed files with 10 additions and 2 deletions
|
@ -61,11 +61,19 @@ jobs:
|
||||||
with:
|
with:
|
||||||
name: public
|
name: public
|
||||||
path: public/
|
path: public/
|
||||||
|
- name: Setup Node
|
||||||
|
uses: actions/setup-node@v4
|
||||||
|
with:
|
||||||
|
node-version: 'latest'
|
||||||
|
- name: Install Dependencies
|
||||||
|
run: |
|
||||||
|
cd wrangler
|
||||||
|
npm install
|
||||||
- name: Publish to Cloudflare
|
- name: Publish to Cloudflare
|
||||||
uses: cloudflare/wrangler-action@2.0.0
|
uses: cloudflare/wrangler-action@2.0.0
|
||||||
with:
|
with:
|
||||||
apiToken: ${{ secrets.CF_API_TOKEN }}
|
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
|
||||||
workingDirectory: wrangler
|
workingDirectory: wrangler
|
||||||
command: deploy
|
command: deploy
|
||||||
env:
|
env:
|
||||||
CF_ACCOUNT_ID: ${{ secrets.CF_ACCOUNT_ID }}
|
CF_ACCOUNT_ID: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
|
||||||
|
|
Reference in a new issue