Skip to content
This repository has been archived by the owner on Sep 14, 2024. It is now read-only.

Commit

Permalink
feat(ci): release using node semantic-release plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
l3d00m committed Jan 22, 2024
1 parent ae0205a commit 8af43ac
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,21 @@
name: deploy
name: deploy

on:
push:
tags: "*"
workflow_dispatch:

jobs:
ansible:
runs-on: ubuntu-latest
environment: production
permissions:
contents: write # to be able to publish a GitHub release
issues: write # to be able to comment on released issues
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
- name: Release new version
run: npx semantic-release
env:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
- name: Run playbook
uses: dawidd6/action-ansible-playbook@00765f79cffbf77b8bef397c00d492d8241502be # v2
with:
Expand All @@ -20,4 +25,3 @@ jobs:
requirements: requirements.yml
options: |
--inventory hosts

0 comments on commit 8af43ac

Please sign in to comment.