Skip to content

Commit

Permalink
fix: og image (#2)
Browse files Browse the repository at this point in the history
  • Loading branch information
huntabyte authored Dec 2, 2024
1 parent e3206a6 commit f4c9065
Show file tree
Hide file tree
Showing 2 changed files with 42 additions and 0 deletions.
42 changes: 42 additions & 0 deletions .github/workflows/deploy-prod.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
name: Production Deployment
on:
push:
branches:
- main
paths:
- docs/**
- packages/barqode/**
workflow_dispatch:


jobs:
deploy-production:
runs-on: macos-latest
permissions:
contents: read
deployments: write
name: Deploy Production Site to Cloudflare Pages
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
- uses: actions/setup-node@v4
with:
node-version: 20
cache: pnpm

- name: Install dependencies
run: pnpm install

- name: Build site
run: pnpm build

- name: Deploy to Cloudflare Pages
uses: AdrianGonz97/refined-cf-pages-action@v1
with:
apiToken: ${{ secrets.CF_API_TOKEN }}
accountId: ${{ secrets.CF_ACCOUNT_ID }}
githubToken: ${{ secrets.GITHUB_TOKEN }}
projectName: barqode
directory: ./.svelte-kit/cloudflare
workingDirectory: docs
deploymentName: Production
Binary file modified docs/static/og.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit f4c9065

Please sign in to comment.