Skip to content

Copy stable to preview #10

Copy stable to preview

Copy stable to preview #10

name: Copy stable to preview
on:
schedule:
- cron: "0 4 * * *" # run every day
workflow_dispatch:
jobs:
CopyStableToArchive:
if: github.repository == 'duckdb/duckdb-web'
name: Copy stable to preview
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v5
with:
fetch-depth: 0
- name: Set up Python 3.12
uses: actions/setup-python@v6
with:
python-version: '3.12'
- name: Run copy
run: |
pip install -r requirements.txt --break-system-packages
python scripts/copy_stable_to_preview.py
- name: Create PR
uses: peter-evans/create-pull-request@v7.0.8
with:
branch: update-preview-branch
commit-message: "Copy stable to preview"
title: "Automated PR: Copy stable to preview"
body: "This PR was created automatically by GitHub Actions."