Skip to content

Commit

Permalink
Update deploy-test.yml to include build and release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
b3hr4d committed Feb 24, 2024
1 parent 33dae0c commit f60ea5c
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/deploy-test.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
name: Build
name: Build and Release

on:
workflow_dispatch:
push:
branches:
- main

tags:
- "v*"
jobs:
build-and-test:
build-and-release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
Expand All @@ -29,6 +29,7 @@ jobs:
- name: Create a Release
uses: elgohr/Github-Release-Action@v5
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.RELEASE_TOKEN }}
with:
title: Release ${{ github.ref }}

0 comments on commit f60ea5c

Please sign in to comment.