Skip to content

test pre-migration

test pre-migration #51

Workflow file for this run

name: Build and deploy Release
on:
push:
branches: [ "main" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Use Node.js 20.x
uses: actions/setup-node@v3
with:
node-version: 20.x
- name: Build
run: |
npm install
npm run build
- name: Deploy to R2 Storage
uses: ryand56/r2-upload-action@latest # Can be any release
with:
r2-account-id: ${{ secrets.R2_ACCOUNT_ID }}
r2-access-key-id: ${{ secrets.R2_ACCESS_KEY_ID }}
r2-secret-access-key: ${{ secrets.R2_SECRET_ACCESS_KEY }}
r2-bucket: ${{ secrets.R2_BUCKET }}
source-dir: build
destination-dir: ./
keep-file-fresh: true