Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
RadhepS committed Aug 2, 2024
1 parent 6185a08 commit 7412263
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/repo-sync.yml
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,9 @@ jobs:
branch_name="new_branch_$timestamp"
git checkout -b $branch_name
# Echo the branch name so it can be used in later steps
echo "::set-output name=branch_name::$branch_name"
# Replace the content inside js-storefront/spartacusstore with the content from ./../../spartacus-${{ github.event.inputs.version }}/apps/spartacusstore
rm -rf js-storefront/spartacusstore/*
cp -r ./../../spartacus-${{ github.event.inputs.version }}/apps/spartacusstore/* js-storefront/spartacusstore/
Expand All @@ -116,6 +119,7 @@ jobs:
git push -u https://${{secrets.GH_TEMPORARY_TOKEN}}@github.com/SAP-samples/cloud-commerce-sample-setup.git
- name: Create Pull Request
run: |
BRANCH_NAME=${{ steps.commit_changes.outputs.branch_name }}
curl \
-X POST \
-H "Authorization: token ${{ secrets.GH_TEMPORARY_TOKEN }}" \
Expand Down

0 comments on commit 7412263

Please sign in to comment.