mirror of
https://github.com/4ev-link/4ev.link.git
synced 2026-01-14 16:48:41 +00:00
Delete mirr.yml
This commit is contained in:
29
.github/workflows/mirr.yml
vendored
29
.github/workflows/mirr.yml
vendored
@@ -1,29 +0,0 @@
|
|||||||
name: Sync with Upstream
|
|
||||||
|
|
||||||
on:
|
|
||||||
workflow_dispatch:
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
sync:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
permissions:
|
|
||||||
contents: write
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- name: Checkout target repository
|
|
||||||
uses: actions/checkout@v4
|
|
||||||
|
|
||||||
- name: Sync, preserving directories
|
|
||||||
run: |
|
|
||||||
set -e
|
|
||||||
git config user.name "github-actions[bot]"
|
|
||||||
git config user.email "github-actions[bot]@users.noreply.github.com"
|
|
||||||
|
|
||||||
git remote add upstream https://github.com/multipleof4/test.git
|
|
||||||
git fetch upstream master
|
|
||||||
git reset --hard upstream/master
|
|
||||||
git rm -r --ignore-unmatch functions .github/workflows
|
|
||||||
git checkout ORIG_HEAD -- functions .github/workflows
|
|
||||||
|
|
||||||
git add -A
|
|
||||||
git diff-index --quiet HEAD || git commit -m "chore: Sync from multipleof4/sune" && git push --force
|
|
||||||
Reference in New Issue
Block a user