Skip to content

Commit e7b5f1c

Browse files
committed
Fix repo sync action in sync-regex-inverter.yml
1 parent afcbdac commit e7b5f1c

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

‎.github/workflows/sync-regex-inverter.yml‎

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,21 @@ jobs:
1919
repository: ptmcg/regex_inverter
2020
token: ${{ secrets.PAT_TOKEN }}
2121
path: dest
22+
ref: main
23+
24+
- name: Debug source directory
25+
run: |
26+
ls -R examples/regex_inverter
2227
2328
- name: Copy updated example files
2429
run: |
2530
rsync -av --delete examples/regex_inverter/ dest/
2631
32+
- name: Show git status after rsync
33+
run: |
34+
cd dest
35+
git status
36+
2737
- name: Commit and push changes
2838
run: |
2939
cd dest

0 commit comments

Comments
 (0)