remove mirroring
Some checks failed
/ build-forgejo-deb (push) Has been cancelled
/ installtest-bookworm-sqlite (push) Has been cancelled
/ installtest-bullseye-sqlite (push) Has been cancelled
/ installtest-buster-sqlite (push) Has been cancelled
/ installtest-bookworm-user (push) Has been cancelled
/ testsuite-repo-upgrade-sqlite (push) Has been cancelled
/ installtest-buster-bin (push) Has been cancelled
/ publish-release-repo (push) Has been cancelled

This commit is contained in:
Alex Janka 2024-06-15 12:00:52 +10:00
parent fc86ce2488
commit 1f46e59334

View file

@ -1,19 +1,5 @@
on: [push, pull_request] on: [push, pull_request]
jobs: jobs:
mirror:
runs-on: bookworm
if: github.event_name == 'push' && github.repository == 'forgejo-contrib/forgejo-deb'
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: "mirror repo: code.forgejo.org"
env:
FORGEJO_DEST: code.forgejo.org
FORGEJO_KEY: ${{ secrets.cfo_api_key }}
run: ./.action-forgejo-mirror.sh
build-forgejo-deb: build-forgejo-deb:
runs-on: bullseye runs-on: bullseye
steps: steps:
@ -49,7 +35,7 @@ jobs:
git update-ref refs/heads/tag_test $(git rev-parse --verify HEAD) git update-ref refs/heads/tag_test $(git rev-parse --verify HEAD)
- run: ./.ci-make.sh submodule-make forgejo security-check - run: ./.ci-make.sh submodule-make forgejo security-check
- run: ./.ci-make.sh submodule-make forgejo frontend - run: ./.ci-make.sh submodule-make forgejo frontend
- run: ./.ci-make.sh submodule-make forgejo checks-backend - run: ./.ci-make.sh submodule-make forgejo checks-backend
@ -98,7 +84,7 @@ jobs:
runs-on: bookworm runs-on: bookworm
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- name: "actions prep: installtest" - name: "actions prep: installtest"
id: ciprep id: ciprep
run: ./.ci-make.sh actions-prep installtest run: ./.ci-make.sh actions-prep installtest
@ -117,7 +103,7 @@ jobs:
- name: "actions prep: installtest" - name: "actions prep: installtest"
id: ciprep id: ciprep
run: ./.ci-make.sh actions-prep installtest run: ./.ci-make.sh actions-prep installtest
- uses: actions/download-artifact@v3 - uses: actions/download-artifact@v3
with: with:
name: forgejo-deb-${{ steps.ciprep.outputs.artifactlabel }} name: forgejo-deb-${{ steps.ciprep.outputs.artifactlabel }}
@ -128,7 +114,7 @@ jobs:
runs-on: buster runs-on: buster
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- name: "actions prep: installtest" - name: "actions prep: installtest"
id: ciprep id: ciprep
run: ./.ci-make.sh actions-prep installtest run: ./.ci-make.sh actions-prep installtest
@ -205,7 +191,7 @@ jobs:
- uses: crystal/install-jq-action@v2.1.0 - uses: crystal/install-jq-action@v2.1.0
- run: mkdir forgejo-release - run: mkdir forgejo-release
- run: mv *.deb *.deb.sha256 forgejo-release/ - run: mv *.deb *.deb.sha256 forgejo-release/
- uses: actions/forgejo-release@v1 - uses: actions/forgejo-release@v1
with: with:
direction: upload direction: upload