Skip to content

ci:test use ci action from bun oven-sh #4

ci:test use ci action from bun oven-sh

ci:test use ci action from bun oven-sh #4

Workflow file for this run

on:
push:
tags:
- 'tweet-embed@*'
jobs:
deploy:
runs-on: ubuntu-latest
permissions:
contents: read
deployments: write
name: Deploy to Cloudflare Pages
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup Bun
uses: oven-sh/setup-bun@v2
with:
bun-version: "1.1.x"
- name: Install dependencies
run: |
source /home/runner/.bashrc
cd tweet-embed
bun install
- name: Build the app
run: |
source /home/runner/.bashrc
cd tweet-embed
bun install
- name: Publish To Cloudflare Pages
uses: cloudflare/pages-action@v1
with:
apiToken: ${{ secrets.CLOUDFLARE_PAGES_TOKEN }}
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
projectName: "tweet-embed"
directory: "build"
workingDirectory: "tweet-embed"
gitHubToken: ${{ secrets.GITHUB_TOKEN }}