Skip to content

Commit 4785f01

Browse files
committed
Merge branch 'main' of github.com:jazzsequence/profile.github.io
2 parents fe3a2a4 + d17af3d commit 4785f01

File tree

2 files changed

+16
-2
lines changed

2 files changed

+16
-2
lines changed

.github/workflows/deploy.yml

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,23 @@ on:
66
permissions:
77
contents: write
88
jobs:
9+
precheck:
10+
runs-on: ubuntu-latest
11+
outputs:
12+
should_deploy: ${{ steps.check.outputs.should_deploy }}
13+
steps:
14+
- name: Check if this is the template
15+
id: check
16+
run: |
17+
if [ "${{ github.repository }}" = "jazzsequence/profile.github.io" ]; then
18+
echo "should_deploy=false" >> $GITHUB_ENV
19+
else
20+
echo "should_deploy=true" >> $GITHUB_ENV
21+
env:
22+
GITHUB_OUTPUT: $GITHUB_ENV
923
deploy:
1024
runs-on: ubuntu-latest
11-
25+
if: needs.precheck.outputs.should_deploy == 'true'
1226
steps:
1327
- name: Checkout
1428
uses: actions/checkout@v4

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "sapling-chain",
3-
"version": "1.2.0",
3+
"version": "1.2.1",
44
"description": "Create a tree of hyperlinks that can be used in social media profiles. 🔗🌲😂",
55
"author": "Chris Reynolds <[email protected]>",
66
"license": "GPL-3.0-or-later",

0 commit comments

Comments
 (0)