Skip to content

Commit

Permalink
ops: fixed release deployment ci
Browse files Browse the repository at this point in the history
  • Loading branch information
Courtcircuits committed Aug 1, 2024
1 parent bb365a2 commit 30fc1e9
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -1,22 +1,20 @@
name: Deploy
on:
push:
tags:
- "*"
release:
types:
- published

permissions:
contents: read

jobs:
get_tag:
runs-on: ubuntu-latest
output:
tag: ${GITHUB_REF#refs/*/}
steps:
- uses: actions/checkout@v2
- name: Set output
id: vars
run: echo "tag=${GITHUB_REF#refs/*/}" >> $GITHUB_OUTPUT
run: echo "tag=$GITHUB_REF" | sed s/"refs\/tags\/v/"/g >> $GITHUB_OUTPUT
- name: Check output
env:
RELEASE_VERSION: ${{ steps.vars.outputs.tag }}
Expand Down

0 comments on commit 30fc1e9

Please sign in to comment.