Skip to content

Commit

Permalink
fix: run git pull before syncing content
Browse files Browse the repository at this point in the history
This will help avoid conflicts when using the matrix strategy.
  • Loading branch information
parkerbxyz committed Oct 18, 2023
1 parent 15ac118 commit 5a7b4ec
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,9 @@ runs:
- name: Create the collection directory if it does not exist
shell: bash
run: mkdir -p ${{ inputs.collection_directory_path }}
- run: git pull
if: ${{ !env.DRY_RUN }}
shell: bash
- name: Sync collection
working-directory: ${{ inputs.collection_directory_path }}
shell: bash
Expand Down

0 comments on commit 5a7b4ec

Please sign in to comment.