Skip to content

Merge pull request #8 from hieu-ht/update_github_action #3

Merge pull request #8 from hieu-ht/update_github_action

Merge pull request #8 from hieu-ht/update_github_action #3

Workflow file for this run

name: Sync Files
on:
push:
branches:
- main
jobs:
sync:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
# replace
- name: Replace Front Matter
run: |
sed -i 's/<!-- fury_frontmatter --/---/g' `grep fury_frontmatter -rl`
sed -i 's/-- fury_frontmatter -->/---/g' `grep fury_frontmatter -rl`
- name: sync
uses: BetaHuhn/repo-file-sync-action@v1
with:
GH_PAT: ${{ secrets.GH_PAT }}
SKIP_PR: true