Skip to content

πŸ“ [Post update] - Update Live Cricket Score Data #95

πŸ“ [Post update] - Update Live Cricket Score Data

πŸ“ [Post update] - Update Live Cricket Score Data #95

Workflow file for this run

name: cf-pages
on:
pull_request:
push:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Clone repository
uses: actions/checkout@v4
- name: Setup Deno environment
uses: denoland/setup-deno@v1
with:
deno-version: v1.x
- name: Setup Cache
uses: actions/cache@v3
with:
path: |
~/.deno
~/.cache/deno
key: ${{ runner.os }}-deno-${{ hashFiles('**/_config.ts', '**/import_map.json') }}
- name: Build site
run: |
deno task build --location=https://foss.sanweb.info/
- name: Deploy
uses: cloudflare/[email protected]
with:
apiToken: ${{ secrets.CF_API_TOKEN }}
accountId: ${{ secrets.CF_ACCOUNT_ID }}
command: pages deploy _site --project-name=fossblog --commit-dirty=true