Skip to content

Commit

Permalink
fix: checkout wp-softcatala to subfolder
Browse files Browse the repository at this point in the history
  • Loading branch information
ccoreilly committed Dec 29, 2024
1 parent d880b6c commit 1a0a4a2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/sync-to-wp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,14 +51,16 @@ jobs:
with:
repository: Softcatala/wp-softcatala
token: ${{ secrets.WP_REPO_TOKEN }}
path: wp-softcatala

- name: Copy JS file
run: |
pwd
ls -al
cp "temp/${{ steps.find-js.outputs.js_filename }}" static/js/subdub-editor.js
cp "temp/${{ steps.find-js.outputs.js_filename }}" wp-softcatala/static/js/subdub-editor.js
- name: Commit and push changes
working-directory: wp-softcatala
run: |
git config --global user.name 'github-actions[bot]'
git config --global user.email 'github-actions[bot]@users.noreply.github.com'
Expand Down

0 comments on commit 1a0a4a2

Please sign in to comment.