diff --git a/.github/workflows/sync-to-wp.yml b/.github/workflows/sync-to-wp.yml index 198fcea..6dc3fdd 100644 --- a/.github/workflows/sync-to-wp.yml +++ b/.github/workflows/sync-to-wp.yml @@ -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'