Skip to content

Commit

Permalink
Merge pull request #26 from pho3nixf1re:logic-workflow-fix
Browse files Browse the repository at this point in the history
docs(changeset): tag
  • Loading branch information
pho3nixf1re authored Dec 18, 2023
2 parents 6cd6621 + ccafa9c commit 8404841
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
5 changes: 5 additions & 0 deletions .changeset/purple-timers-act.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"pho3nixf1re.net": patch
---

tag
6 changes: 3 additions & 3 deletions .github/workflows/build-and-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:
inputs:
tag:
description: 'Tag to deploy'
required: true
required: false
type: string

concurrency:
Expand All @@ -23,10 +23,10 @@ jobs:
contents: read
steps:
- name: Checkout
if: github.event_name != 'workflow_dispatch'
if: github.event.inputs.tag == null
uses: actions/checkout@v4
- name: Checkout tag
if: github.event_name == 'workflow_dispatch'
if: github.event.inputs.tag != null
uses: actions/checkout@v4
with:
ref: ${{ github.event.inputs.tag }}
Expand Down

0 comments on commit 8404841

Please sign in to comment.