Skip to content

Commit

Permalink
don't sync to the placeholder repo
Browse files Browse the repository at this point in the history
  • Loading branch information
MysticalOS committed Mar 16, 2024
1 parent c7fd917 commit 772fc3e
Showing 1 changed file with 0 additions and 26 deletions.
26 changes: 0 additions & 26 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,29 +42,3 @@ jobs:
webhook_url: ${{ secrets.DISCORD_WEBHOOK }}
status: ${{ job.status }}
if: ${{ github.event_name != 'pull_request' && failure() }}
sync:
runs-on: ubuntu-latest
if: ${{ github.event_name != 'pull_request' }}
needs:
- build

steps:
- uses: actions/checkout@v1
with:
repository: 'DeadlyBossMods/DBM-WoTLKC'
ref: 'master'
token: ${{ secrets.PERSONAL_TOKEN }}

- name: Deploy on DBM-WoTLKC
run: |
COMMIT_MESSAGE=$(cat <<'EOF'
${{ github.event.head_commit.message }}
EOF
)
COMMIT_MESSAGE=$(echo $COMMIT_MESSAGE | sed 's/"/\\"/g')
cd /home/runner/work/DBM-WotLK/DBM-WoTLKC
git remote set-url origin "https://${{ secrets.PERSONAL_TOKEN }}@github.com/DeadlyBossMods/DBM-WoTLKC.git"
git config user.email "${{ github.event.head_commit.author.email }}"
git config user.name "${{ github.event.head_commit.author.username }}"
git commit --allow-empty -m "$COMMIT_MESSAGE"
git push origin HEAD:master

0 comments on commit 772fc3e

Please sign in to comment.