-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
updated payments stack deploy script
- Loading branch information
1 parent
ad0f266
commit 6dfcc8e
Showing
1 changed file
with
7 additions
and
7 deletions.
There are no files selected for viewing
14 changes: 7 additions & 7 deletions
14
utils/setup-scripts/payments-stack/fly-deploy-files/setup.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,21 @@ | ||
#!/bin/bash | ||
|
||
# Define the repository URL | ||
REPO_URL="https://raw.githubusercontent.com/brandon-schabel/bun-nook-kit/main/utils/setup-scripts/payments-stack" | ||
REPO_URL="https://raw.githubusercontent.com/brandon-schabel/bun-nook-kit/main/utils/setup-scripts/payments-stack/fly-deploy-files" | ||
|
||
# Download the files | ||
curl -O "$REPO_URL/.dockerignore" | ||
curl -O "$REPO_URL/deploy-to-fly.yml" | ||
curl -O "$REPO_URL/Dockerfile" | ||
curl -O "$REPO_URL/fly.toml" | ||
|
||
# Move .dockerignore, Dockerfile, and fly.toml to the current working directory (project root) | ||
mv .dockerignore . | ||
mv Dockerfile . | ||
mv fly.toml . | ||
|
||
# Move deploy-to-fly.yml to .github/workflows in the current working directory | ||
mkdir -p .github/workflows | ||
mv deploy-to-fly.yml .github/workflows/ | ||
|
||
echo "Files have been moved successfully." | ||
echo "Files have been moved successfully." | ||
|
||
echo "If you don't already have fly installed" | ||
echo "install with: brew install flyctl" | ||
echo "or with curl/linux: curl -L https://fly.io/install.sh | sh" | ||
echo "Now that you are setup with fly, you can delete this file." |