ci: Add new release actions (#17789)

This commit is contained in:
Omar López authored and GitHub committed 2024-11-22 10:08:26 -07:00
1 parent 9fa73aca86
commit 9c10ecf8ea
3 files changed
+75 -17

No files matched your search

+25
View File
@@ -0,0 +1,25 @@
name: Post release
on:
workflow_dispatch:
push:
# Pattern matched against refs/tags
tags:
- "*"
jobs:
release:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
fetch-depth: 0
ref: 'main'
ssh-key: ${{ secrets.DEPLOY_KEY }}
- name: Configure git
run: |
git config --local user.email "[email protected]"
git config --local user.name "GitHub Actions"
- run: git push origin +main:production