Skip to content

Commit

Permalink
Test commit 16
Browse files Browse the repository at this point in the history
  • Loading branch information
phapsidesGT committed Sep 3, 2024
1 parent 420d701 commit 5ab39ab
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/ci-cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,16 +22,20 @@ jobs:
- name: Install Shopify CLI
run: |
gem install --user-install shopify-cli
echo "export PATH=\$HOME/.local/share/gem/ruby/$(ls /var/lib/gems/)/bin:\$PATH" >> $GITHUB_ENV
echo 'export PATH="$HOME/.local/share/gem/ruby/$(ls /var/lib/gems/)/bin:$PATH"' >> ~/.bashrc
echo 'export PATH="$HOME/.local/share/gem/ruby/$(ls /var/lib/gems/)/bin:$PATH"' >> ~/.profile
echo "export PATH=\$HOME/.local/share/gem/ruby/$(ls ~/.local/share/gem/ruby)/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
source $GITHUB_ENV
# Verify Shopify CLI installation
shopify version
# Configure Shopify CLI
shopify config set store "$SHOPIFY_STORE"
shopify config set password "$SHOPIFY_PASSWORD"
Expand Down

0 comments on commit 5ab39ab

Please sign in to comment.