This repository has been archived by the owner on Feb 27, 2024. It is now read-only.
Merge branch 'main' of github.com:ObsidianPublisher/assets #34
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Sync Files | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- master | |
- main | |
paths: | |
- "src/**" | |
- "assets/**" | |
jobs: | |
sync: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repo | |
uses: actions/checkout@v3 | |
- name: Sync files | |
uses: BetaHuhn/repo-file-sync-action@latest | |
with: | |
GH_PAT: ${{ secrets.GH_PAT }} | |
SKIP_PR: true | |
COMMIT_PREFIX: "[SYNC]" | |
COMMIT_BODY: "Updated from assets" | |
ORIGINAL_MESSAGE: true | |