mirror of
https://github.com/documenso/documenso.git
synced 2025-11-10 04:22:32 +10:00
25 lines
460 B
YAML
25 lines
460 B
YAML
name: Deploy to Production
|
|
|
|
on:
|
|
push:
|
|
tags:
|
|
- '*'
|
|
|
|
jobs:
|
|
deploy:
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- name: Checkout code
|
|
uses: actions/checkout@v4
|
|
with:
|
|
ref: main
|
|
fetch-depth: 0
|
|
token: ${{ secrets.GH_TOKEN }}
|
|
|
|
- name: Push to release branch
|
|
run: |
|
|
git checkout release || git checkout -b release
|
|
git merge --ff-only main
|
|
git push origin release
|