Files
documenso/.github/workflows/deploy.yml
2023-12-08 09:29:47 +11:00

27 lines
521 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
- name: Push to release branch
run: |
git config user.name "GitHub Actions"
git config user.email "actions@github.com"
git checkout release || git checkout -b release
git merge --ff-only main
git push origin release