Skip to content

📝 [Markdown Post] - Update Live Cricket Score Data #1548

📝 [Markdown Post] - Update Live Cricket Score Data

📝 [Markdown Post] - Update Live Cricket Score Data #1548

Workflow file for this run

name: cloudflare-pages
on:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node: [ '18' ]
name: Node ${{ matrix.node }}
steps:
- uses: actions/checkout@v4.2.0
- name: Cache node modules
uses: actions/cache@v4.1.0
with:
path: node_modules
key: ${{ runner.OS }}-build-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.OS }}-build-${{ env.cache-name }}-
${{ runner.OS }}-build-
${{ runner.OS }}-
- uses: actions/setup-node@v4.0.4
with:
node-version: ${{ matrix.node }}
- run: yarn install
- run: yarn sync
- run: yarn build
- name: Deploy
uses: cloudflare/wrangler-action@v3.7.0
with:
apiToken: ${{ secrets.CF_API_TOKEN }}
accountId: ${{ secrets.CF_ACCOUNT_ID }}
command: pages deploy dist --project-name=cricketblog --commit-dirty=true