mirror of
https://github.com/sonr-io/sonr.git
synced 2026-08-02 17:31:39 +00:00
36 lines
868 B
YAML
36 lines
868 B
YAML
name: Post Merge
|
|
on:
|
|
pull_request:
|
|
types: [closed]
|
|
push:
|
|
tags:
|
|
- v*
|
|
branches:
|
|
- main
|
|
|
|
permissions:
|
|
contents: write
|
|
issues: write
|
|
|
|
jobs:
|
|
publish-version:
|
|
name: Publish Version
|
|
if: |
|
|
github.event.pull_request.merged == true &&
|
|
github.event.pull_request.user.login != 'dependabot[bot]' &&
|
|
github.event.pull_request.user.login != 'dependabot-preview[bot]'
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Check out
|
|
uses: actions/checkout@v4
|
|
with:
|
|
fetch-depth: 0
|
|
ssh-key: "${{ secrets.COMMIT_KEY }}"
|
|
- name: Install devbox
|
|
uses: jetify-com/devbox-install-action@v0.12.0
|
|
- name: Push using ssh
|
|
run: devbox run release
|
|
env:
|
|
DOPPLER_SONR_RELEASE_TOKEN: ${{ secrets.DOPPLER_RELEASE_TOKEN }}
|
|
GH_TOKEN: ${{ github.token }}
|