File tree Expand file tree Collapse file tree 2 files changed +16
-2
lines changed
Expand file tree Collapse file tree 2 files changed +16
-2
lines changed Original file line number Diff line number Diff line change 66permissions :
77 contents : write
88jobs :
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
Original file line number Diff line number Diff line change 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" ,
You can’t perform that action at this time.
0 commit comments