Skip to content

Commit

Permalink
updated payments stack deploy script
Browse files Browse the repository at this point in the history
  • Loading branch information
brandon-schabel committed Nov 23, 2023
1 parent ad0f266 commit 6dfcc8e
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions utils/setup-scripts/payments-stack/fly-deploy-files/setup.sh
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."

0 comments on commit 6dfcc8e

Please sign in to comment.