Skip to content

Commit

Permalink
chore: add special logic for predeployment
Browse files Browse the repository at this point in the history
  • Loading branch information
roderik committed Aug 15, 2024
1 parent 3a5d241 commit 5d1ac19
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions .github/workflows/solidity.yml
Original file line number Diff line number Diff line change
Expand Up @@ -183,6 +183,12 @@ jobs:
echo "Updated version to $VERSION"
- name: Generate README.md
if: github.repository == 'settlemint/solidity-predeployed'
run: |
rm -Rf README.md
cp .github/BASE.md README.md
- uses: JS-DevTools/npm-publish@v3
with:
token: ${{ secrets.NPM_TOKEN }}
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<br/>
<p align="center">
<a href="https://github.com/settlemint/solidity-empty/actions?query=branch%3Amain"><img src="https://github.com/settlemint/solidity-empty/actions/workflows/solidity.yml/badge.svg?event=push&branch=main" alt="CI status" /></a>
<a href="https://fsl.software" rel="nofollow"><img src="https://img.shields.io/npm/l/@settlemint/sdk" alt="License"></a>
<a href="https://fsl.software" rel="nofollow"><img src="https://img.shields.io/npm/l/@settlemint/solidity-empty" alt="License"></a>
<a href="https://www.npmjs.com/package/@settlemint/solidity-empty" rel="nofollow"><img src="https://img.shields.io/npm/dw/@settlemint/solidity-empty" alt="npm"></a>
<a href="https://github.com/settlemint/solidity-empty" rel="nofollow"><img src="https://img.shields.io/github/stars/settlemint/solidity-empty" alt="stars"></a>
</p>
Expand Down

0 comments on commit 5d1ac19

Please sign in to comment.