Skip to content

Commit

Permalink
Show version during deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
NicolasDorier committed Feb 19, 2025
1 parent 56d8c94 commit 22f6998
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ This server is used by the [BTCPay Server Shopify plugin](https://github.com/btc

You can find installation instructions on our official documentation page: [BTCPay Server for Shopify](https://docs.btcpayserver.org/ShopifyV2/)

## Maitainers
## Maintainers

The image is hosted on [docker hub](https://hub.docker.com/r/btcpayserver/shopify-app-deployer), to publish a new one, push a new tag to the repository. The github action is set up to create the image and upload it.
The image is hosted on [docker hub](https://hub.docker.com/r/btcpayserver/shopify-app-deployer), to publish a new one, push a new tag to the repository. The github action is set up to create the image and upload it.

Increment `VERSION` when you want the plugin to be able to notify the user that a new app deployment is needed.
1 change: 1 addition & 0 deletions VERSION
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
1
1 change: 1 addition & 0 deletions deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ echo "COMMIT=${COMMIT}"
cd "$TEMP_DIR"
echo "Creating plugin in directory: ${TEMP_DIR}"
cp -rf /app/* "${TEMP_DIR}"
echo "VERSION=$(cat VERSION)"

cp shopify.app.toml.example shopify.app.toml
sed -i "s|APP_NAME|${APP_NAME}|g" shopify.app.toml
Expand Down

0 comments on commit 22f6998

Please sign in to comment.