remove mirroring

This commit is contained in:
Alex Janka 2024-06-15 12:00:52 +10:00
parent c625377da9
commit 7bb821c4f6

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
@ -96,7 +82,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
@ -115,7 +101,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 }}
@ -126,7 +112,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
@ -203,7 +189,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