Skip ke Konten
Odoo Menu
  • Login
  • Uji coba gratis
  • Aplikasi
    Keuangan
    • Akuntansi
    • Faktur
    • Pengeluaran
    • Spreadsheet (BI)
    • Dokumen
    • Tanda Tangan
    Sales
    • CRM
    • Sales
    • POS Toko
    • POS Restoran
    • Langganan
    • Rental
    Website
    • Website Builder
    • eCommerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Supply Chain
    • Inventaris
    • Manufaktur
    • PLM
    • Purchase
    • Maintenance
    • Kualitas
    Sumber Daya Manusia
    • Karyawan
    • Rekrutmen
    • Cuti
    • Appraisal
    • Referensi
    • Armada
    Marketing
    • Social Marketing
    • Email Marketing
    • SMS Marketing
    • Acara
    • Otomatisasi Marketing
    • Survei
    Layanan
    • Project
    • Timesheet
    • Layanan Lapangan
    • Meja Bantuan
    • Planning
    • Appointment
    Produktivitas
    • Discuss
    • Kecerdasan Buatan
    • IoT
    • VoIP
    • Pengetahuan
    • WhatsApp
    Aplikasi pihak ketiga Odoo Studio Platform Odoo Cloud
  • Industri
    Retail
    • Toko Buku
    • Toko Baju
    • Toko Furnitur
    • Toko Kelontong
    • Toko Hardware
    • Toko Mainan
    Makanan & Hospitality
    • Bar dan Pub
    • Restoran
    • Fast Food
    • Rumah Tamu
    • Distributor Minuman
    • Hotel
    Real Estate
    • Agensi Real Estate
    • Firma Arsitektur
    • Konstruksi
    • Manajemen Properti
    • Perkebunan
    • Asosiasi Pemilik Properti
    Konsultansi
    • Firma Akuntansi
    • Mitra Odoo
    • Agensi Marketing
    • Firma huku
    • Talent Acquisition
    • Audit & Sertifikasi
    Manufaktur
    • Tekstil
    • Logam
    • Perabotan
    • Makanan
    • Brewery
    • Corporate Gift
    Kesehatan & Fitness
    • Sports Club
    • Toko Kacamata
    • Fitness Center
    • Wellness Practitioners
    • Farmasi
    • Salon Rambut
    Perdagangan
    • Handyman
    • IT Hardware & Support
    • Sistem-Sistem Energi Surya
    • Pembuat Sepatu
    • Cleaning Service
    • Layanan HVAC
    Lainnya
    • Organisasi Nirlaba
    • Agen Lingkungan
    • Rental Billboard
    • Fotografi
    • Penyewaan Sepeda
    • Reseller Software
    Browse semua Industri
  • Komunitas
    Belajar
    • Tutorial-tutorial
    • Dokumentasi
    • Sertifikasi
    • Pelatihan
    • Blog
    • Podcast
    Empower Education
    • Program Edukasi
    • Game Bisnis 'Scale Up!'
    • Kunjungi Odoo
    Dapatkan Softwarenya
    • Download
    • Bandingkan Edisi
    • Daftar Rilis
    Kolaborasi
    • Github
    • Forum
    • Acara
    • Terjemahan
    • Menjadi Partner
    • Layanan untuk Partner
    • Daftarkan perusahaan Akuntansi Anda.
    Dapatkan Layanan
    • Temukan Mitra
    • Temukan Akuntan
    • Konsultasi
    • Layanan Implementasi
    • Referensi Pelanggan
    • Bantuan
    • Upgrades
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Dapatkan demo
  • Harga
  • Bantuan
Anda harus terdaftar untuk dapat berinteraksi di komunitas.
Semua Post Orang Lencana-Lencana
Label (Lihat semua)
odoo accounting v14 pos v15
Mengenai forum ini
Anda harus terdaftar untuk dapat berinteraksi di komunitas.
Semua Post Orang Lencana-Lencana
Label (Lihat semua)
odoo accounting v14 pos v15
Mengenai forum ini
Help

Make an automatic rebuild from in OdooSH

Langganan

Dapatkan notifikasi saat terdapat aktivitas pada post ini

Pertanyaan ini telah diberikan tanda
developmentconfigurationsetupsystem
2 Replies
1165 Tampilan
Avatar
Ramón Reyna García

HI!, 


Is there a command or a way to do a rebuild in OdooSH of staging automatically? I want to have 3 staging branches but rebuilding automatically every week, i was thinking in a cron job that executes a command to do this, its possible or how can i do this?


Thanks!!

0
Avatar
Buang
Avatar
Vraja Technologies
Jawaban Terbai

Use this GitHub Actions workflow to trigger a weekly rebuild by pushing an empty commit to each staging branch.

Create this file in your repo:

/.github/workflows/weekly-staging-rebuild.yml

name: Weekly Odoo.sh Staging Rebuild

on:
schedule:
# Runs every Sunday at 02:00 UTC
- cron: '0 2 * * 0'
workflow_dispatch:

jobs:
rebuild-staging:
runs-on: ubuntu-latest

strategy:
fail-fast: false
matrix:
branch:
- staging1
- staging2
- staging3

steps:
- name: Checkout target branch
uses: actions/checkout@v4
with:
ref: ${{ matrix.branch }}
fetch-depth: 0
token: ${{ secrets.GH_PAT }}

- name: Configure Git
run: |
git config user.name "GitHub Actions"
git config user.email "actions@github.com"

- name: Create empty commit
run: |
git commit --allow-empty -m "Weekly rebuild trigger for ${{ matrix.branch }}"

- name: Push changes
run: |
git push origin ${{ matrix.branch }}

What this does:

  • runs every week
  • checks out each staging branch
  • creates an empty commit
  • pushes it
  • Odoo.sh detects the new push and starts a fresh build for that branch

  • Important Notes:
  • GH_PAT should be a GitHub token saved in Repository Settings → Secrets and variables → Actions
  • the token must have permission to push to the repository
  • branch names must match your real Odoo.sh staging branch names

    For More Detail Please Contact us on : https://www.vrajatechnologies.com

  • Thanks
0
Avatar
Buang
Avatar
Zehntech Technologies Inc.
Jawaban Terbai

Hello,  

Odoo.sh does not provide a native command or built-in cron mechanism to automatically rebuild staging branches on a schedule.

However, this can be achieved using an external approach, such as:

  • Leveraging the Odoo.sh API to trigger rebuilds
  • Setting up a scheduled job (e.g., via CI/CD tools like GitHub Actions, GitLab CI, or a server cron) that calls the rebuild process

This way, you can automate the weekly refresh of your staging branches as needed.

Hope this works for you! If you need any help implementing this or want a more optimized approach, feel free to reach out for further discussion

Regards,

Zehntech Technologies Inc.

-1
Avatar
Buang
Menikmati diskusi? Jangan hanya membaca, ikuti!

Buat akun sekarang untuk menikmati fitur eksklufi dan agar terlibat dengan komunitas kami!

Daftar
Post Terkait Replies Tampilan Aktivitas
Customizing odoo enterprise
development configuration setup system
Avatar
0
Feb 25
2926
Error while importing module.
development configuration setup system debug
Avatar
Avatar
Avatar
2
Okt 25
4801
[18.0] set res config settings using code
development configuration setup stock system
Avatar
Avatar
Avatar
2
Jul 25
7465
V16-Managing data in property field
development configuration setup system function
Avatar
1
Apr 25
2407
Moving a Fresh Odoo Online (SaaS 19.2) to Odoo.sh (Stable 19.0) Diselesaikan
development setup system
Avatar
Avatar
2
Apr 26
1200
Komunitas
  • Tutorial-tutorial
  • Dokumentasi
  • Forum
Open Source
  • Download
  • Github
  • Runbot
  • Terjemahan
Layanan
  • Odoo.sh Hosting
  • Bantuan
  • Peningkatan
  • Custom Development
  • Pendidikan
  • Temukan Akuntan
  • Temukan Mitra
  • Menjadi Partner
Tentang Kami
  • Perusahaan kami
  • Aset Merek
  • Hubungi kami
  • Karir
  • Acara
  • Podcast
  • Blog
  • Pelanggan
  • Hukum • Privasi
  • Keamanan
الْعَرَبيّة Català 简体中文 繁體中文 (台灣) Čeština Dansk Nederlands English Suomi Français Deutsch हिंदी Bahasa Indonesia Italiano 日本語 한국어 (KR) Lietuvių kalba Język polski Português (BR) română русский язык Slovenský jazyk Slovenščina Español (América Latina) Español Svenska ภาษาไทย Türkçe українська Tiếng Việt

Odoo adalah software terintegrasi dengan 70+ aplikasi seperti CRM, Akuntansi, Inventaris, Sales, eCommerce, Marketing, POS; plus fitur lokal Indonesia!

Mudah digunakan dan terintegrasi penuh pada saat yang sama adalah value proposition unik Odoo.

Website made with

Odoo Experience on YouTube

1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.

Live support on Youtube
Watch now