Skip to content

Commit

Permalink
Test commit 18
Browse files Browse the repository at this point in the history
  • Loading branch information
phapsidesGT committed Sep 3, 2024
1 parent 2c052ed commit bd8e23f
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 5 deletions.
12 changes: 7 additions & 5 deletions .github/workflows/ci-cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,23 +17,25 @@ jobs:
- name: Install Shopify CLI Dependencies
run: |
sudo apt-get update
sudo apt-get install -y ruby-full ruby-bundler ruby-dev
sudo apt-get install -y ruby-full ruby-bundler ruby-dev build-essential
- name: Install Shopify CLI
run: |
echo "Installing Shopify CLI..."
gem install --user-install shopify-cli
echo "export PATH=\$HOME/.local/share/gem/ruby/$(ls ~/.local/share/gem/ruby)/bin:\$PATH" >> $GITHUB_ENV
# Dynamically add Ruby Gems to PATH
echo "PATH=$(ruby -e 'print Gem.user_dir')/bin:$PATH" >> $GITHUB_ENV
- name: Deploy to Shopify
env:
SHOPIFY_PASSWORD: ${{ secrets.SHOPIFY_PASSWORD }}
SHOPIFY_STORE: ${{ secrets.SHOPIFY_STORE }}
THEME_ID: ${{ secrets.THEME_ID }}
run: |
# Source the updated PATH
# Load the updated PATH
source $GITHUB_ENV
# Verify Shopify CLI installation
# Check Shopify CLI version
shopify version
# Configure Shopify CLI
Expand Down
4 changes: 4 additions & 0 deletions push-theme.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
#!/bin/bash

# push-theme.sh

# Load environment variables from .env file
set -a
source .env
Expand Down

0 comments on commit bd8e23f

Please sign in to comment.