Skip to content

Commit

Permalink
tech: add release.yml github workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
MathieuGilet committed Sep 19, 2024
1 parent 987578d commit b87befa
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: release

on:
push:
branches:
- master
repository_dispatch:
types: ['deploy']
workflow_dispatch:

jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
persist-credentials: false

- uses: 1024pix/pix-actions/release@main
with:
npmPublish: true
updateMajorVersion: true
env:
GITHUB_TOKEN: '${{ secrets.PIX_SERVICE_ACTIONS_TOKEN }}'
NPM_TOKEN: ${{ secrets.NPM_PUBLISH_ACCESS_TOKEN }}

0 comments on commit b87befa

Please sign in to comment.