Skip to content

Commit

Permalink
Fix pathing in updating cookie repo (#128)
Browse files Browse the repository at this point in the history
* fix pathing in updating cookie repo

* tmp allow during pull request

* Revert "tmp allow during pull request"

This reverts commit acfb723.
  • Loading branch information
lilyminium authored Jun 22, 2024
1 parent 391be45 commit 7d15449
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/actions/push-to-cookie/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ inputs:
source-directory:
description: Source directory
required: true
target-branch:
description: Target branch
source-package:
description: Source package name
required: true
target-repository:
description: Target repository name
Expand Down Expand Up @@ -53,7 +53,7 @@ runs:
cp -r ${{ inputs.source-directory }} ${HOME}/cookies
cd ${HOME}/cookies
for mdakit_directory in $(ls -d */${{ inputs.target-repository }}) ; do
for mdakit_directory in $(ls -d */${{ inputs.source-package }}) ; do
TARGET_BRANCH=$(dirname $mdakit_directory)
echo "Target branch: ${TARGET_BRANCH}"
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/gh-ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,8 @@ jobs:
uses: ./.github/actions/push-to-cookie
with:
source-directory: ${{ env.OUTPUT_DIRECTORY }}
target-repository: mdakit-cookie
source-package: mdakit-Cookie
target-ssh-deploy-key: ${{ secrets.MDAKIT_COOKIE_SSH_DEPLOY_KEY }}

- name: Push to remote
Expand Down

0 comments on commit 7d15449

Please sign in to comment.