Skip to content

Commit

Permalink
switch to manual triggering of releases
Browse files Browse the repository at this point in the history
  • Loading branch information
bpcreech authored Feb 4, 2024
1 parent 956a1b9 commit d11309d
Showing 1 changed file with 15 additions and 6 deletions.
21 changes: 15 additions & 6 deletions .github/workflows/build.yaml → .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@ name: Deploy

on:
push:
branches:
- main
tags:
- 'v*' # Push events to matching v*, i.e. v1.0, v20.15.10

jobs:
build:
name: Build
name: Release
runs-on: ubuntu-latest

steps:
Expand All @@ -22,13 +22,22 @@ jobs:
- run: npm install
- run: npm run build

# - name: Create Release
# id: create_release
# uses: rymndhng/release-on-push-action@master
# with:
# bump_version_scheme: minor
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Create Release
id: create_release
uses: rymndhng/release-on-push-action@master
with:
bump_version_scheme: minor
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ github.ref }}
release_name: Release ${{ github.ref }}

- name: Tar build
run: tar cvfz build.tar.gz ./dist
Expand Down

0 comments on commit d11309d

Please sign in to comment.