Skip to content

Commit

Permalink
Update and rename sync.yml to syncDISABLED
Browse files Browse the repository at this point in the history
  • Loading branch information
gvoze32 committed Nov 12, 2021
1 parent 48efe25 commit 4529dc2
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 31 deletions.
31 changes: 0 additions & 31 deletions .github/workflows/sync.yml

This file was deleted.

31 changes: 31 additions & 0 deletions .github/workflows/syncDISABLED
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
# name: Sync
# on:
# push:
# branch: master
# jobs:
# validate:
# name: Sync with bebasin
# runs-on: ubuntu-latest
# steps:
# - name: Checkout repository
# uses: actions/checkout@v1
# - name: Sync with Bebasin
# run: |
# LAST_COMMIT_MESSAGE="$(git log -1 --pretty=%B)"

# git config --global user.email "[email protected]"
# git config --global user.name "Aaabot"
# git clone https://aaabot:${{ secrets.ACCESS_TOKEN }}@github.com/bebasid/bebasin.git ../bebasin

# # If hosts is different
# if ! cmp ../bebasin/misc/hosts releases/hosts >/dev/null 2>&1
# then
# cp releases/hosts ../bebasin/misc/hosts

# cd ../bebasin
# git remote set-url origin https://aaabot:${{ secrets.ACCESS_TOKEN }}@github.com/bebasid/bebasin.git
# git add misc/hosts
# git commit -m "Sync with bebasin: " -m "${LAST_COMMIT_MESSAGE}"

# git push origin master
# fi

0 comments on commit 4529dc2

Please sign in to comment.