fix: wrangler depdencies + env name update
This commit is contained in:
parent
2fe0b52fcf
commit
b5a10e46d9
|
@ -61,11 +61,19 @@ jobs:
|
|||
with:
|
||||
name: 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
|
||||
uses: cloudflare/wrangler-action@2.0.0
|
||||
with:
|
||||
apiToken: ${{ secrets.CF_API_TOKEN }}
|
||||
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
|
||||
workingDirectory: wrangler
|
||||
command: deploy
|
||||
env:
|
||||
CF_ACCOUNT_ID: ${{ secrets.CF_ACCOUNT_ID }}
|
||||
CF_ACCOUNT_ID: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
|
||||
|
|
Loading…
Reference in a new issue