Skip to content

Commit

Permalink
Stop using aggregate branch (#130)
Browse files Browse the repository at this point in the history
Deprecated in favour of GitHub Pages for aggregations due to efficiency and file size limits

Closes #10
  • Loading branch information
kevinlul committed Jun 2, 2024
1 parent 2431816 commit 4466638
Showing 1 changed file with 1 addition and 14 deletions.
15 changes: 1 addition & 14 deletions .github/workflows/merge.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,7 @@ jobs:
with:
repository: DawnbrandBots/yaml-yugi-zh
path: yaml-yugi-zh
- uses: actions/checkout@v4
with:
path: aggregate
ref: aggregate
- run: mkdir aggregate
- uses: actions/setup-python@v5
with:
python-version: "3.10"
Expand Down Expand Up @@ -106,16 +103,6 @@ jobs:
uses: actions/upload-pages-artifact@v3
with:
path: yaml-yugi/src/web
- if: steps.commit.outputs.status > 0
working-directory: aggregate
name: Commit aggregate
run: |
git config user.name GitHub Actions
git config user.email [email protected]
git add .
git commit -m "Merge: ${{ github.run_number }} (${{ github.run_id }})" -m "$(git -C ../yaml-yugi rev-parse @)"
git pull --rebase origin aggregate
git push
- if: steps.commit.outputs.status > 0
uses: actions/setup-node@v4
with:
Expand Down

0 comments on commit 4466638

Please sign in to comment.