Skip to content

Commit

Permalink
Merge pull request #6 from BrianMitchL/dev
Browse files Browse the repository at this point in the history
dev ➡️  main
  • Loading branch information
BrianMitchL authored Feb 6, 2025
2 parents d53fe85 + 0e3e5b0 commit f8cb6c9
Show file tree
Hide file tree
Showing 6 changed files with 2,562 additions and 6,363 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [16.x, 18.x]
node-version: [20.x, 22.x]
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: "npm"
Expand All @@ -30,18 +30,18 @@ jobs:
if: github.event_name == 'push'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Publish Dev
if: endsWith(github.ref, '/dev')
uses: cloudflare/wrangler-action@2.0.0
uses: cloudflare/wrangler-action@v3
with:
apiToken: ${{ secrets.CF_API_TOKEN }}
accountId: ${{ secrets.CF_ACCOUNT_ID }}
command: publish --env=dev
command: deploy --env=dev
- name: Publish Prod
if: endsWith(github.ref, '/main')
uses: cloudflare/wrangler-action@2.0.0
uses: cloudflare/wrangler-action@v3
with:
apiToken: ${{ secrets.CF_API_TOKEN }}
accountId: ${{ secrets.CF_ACCOUNT_ID }}
command: publish
command: deploy
Loading

0 comments on commit f8cb6c9

Please sign in to comment.