Skip to content
This repository has been archived by the owner on Dec 24, 2024. It is now read-only.

Commit

Permalink
add sync
Browse files Browse the repository at this point in the history
  • Loading branch information
Mara-Li committed Mar 15, 2023
1 parent 205f5c7 commit 2c12dd3
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/sync.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
- files:
- source: src/js/wiki_hover.js
dest: wiki_hover.js
repos: |
ObsidianPublisher/tooltips-internal-link
23 changes: 23 additions & 0 deletions .github/workflows/sync.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Sync Files
on:
workflow_dispatch:
push:
branches:
- master
- main

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

0 comments on commit 2c12dd3

Please sign in to comment.