Skip to content

Commit

Permalink
minor
Browse files Browse the repository at this point in the history
  • Loading branch information
yduan92 committed Sep 14, 2024
1 parent 7b083d5 commit adcdc21
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions .github/workflows/docker-image.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,23 +13,17 @@ jobs:
runs-on: self-hosted

steps:
# Step 1: Checkout the code from the repository
- name: Checkout code
uses: actions/checkout@v3

# Step 2: Set up Docker Compose
- name: Set up Docker Compose
uses: docker/compose-action@v2
- name: Checkout code
uses: actions/checkout@v2

# Step 3: Write .env file
- name: Write .env file
run: |
echo "ALPACA_API_KEY=${ALPACA_API_KEY}" >> .env
echo "ALPACA_SECRET_KEY=${ALPACA_API_SECRET}" >> .env
echo "ALPACA_API_BASE_URL=${ALPACA_API_BASE_URL}" >> .env
echo "ALPACA_PAPER=${ALPACA_PAPER}" >> .env
# Step 4: Build and start Docker Compose services
- name: Build and start Docker Compose
run: |
docker-compose up -d --build

0 comments on commit adcdc21

Please sign in to comment.