Skip to content

chore(deps): update dependency @astrojs/mdx to v3 #93

chore(deps): update dependency @astrojs/mdx to v3

chore(deps): update dependency @astrojs/mdx to v3 #93

Workflow file for this run

on: [push]
jobs:
publish:
runs-on: ubuntu-latest
permissions:
contents: read
deployments: write
name: Publish to Cloudflare Pages
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup bun
uses: oven-sh/setup-bun@v1
with:
bun-version: latest
- name: Install project dependencies
run: bun install
- name: Run post-install for sharp
run: cd node_modules/sharp && bun install && cd ../..
- name: Build project
run: bun run build
- name: Publish to Cloudflare Pages
uses: cloudflare/pages-action@v1
with:
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
accountId: "f9b287db44d75988c9ac726f6390d9c0"
projectName: "tuhura-tech-website"
directory: dist/
# Optional: Enable this if you want to have GitHub Deployments triggered
gitHubToken: ${{ secrets.GITHUB_TOKEN }}
# Optional: Switch what branch you are publishing to.
# By default this will be the branch which triggered this workflow
branch: main
# Optional: Change the Wrangler version, allows you to point to a specific version or a tag such as `beta`
wranglerVersion: '3'