Remove netlify deploy workflow

This commit is contained in:
sharpenedblade
2023-12-16 12:01:09 -08:00
parent 74bf77ea0d
commit d39f4a192e
2 changed files with 0 additions and 59 deletions
-17
View File
@@ -2,10 +2,6 @@ name: Build
on:
push:
concurrency:
group: ${{ github.ref }}
cancel-in-progress: true
jobs:
checks:
runs-on: ubuntu-latest
@@ -56,16 +52,3 @@ jobs:
with:
name: packages
path: builddir/packages/*.rpm
- name: "Release"
if: startsWith(github.ref, 'refs/tags/v')
uses: softprops/action-gh-release@v1
with:
files: |
builddir/packages/*.rpm
deploy:
needs: ["build"]
if: startsWith(github.ref, 'refs/tags/v')
uses: ./.github/workflows/deploy.yaml
secrets: inherit
-42
View File
@@ -1,42 +0,0 @@
name: Deploy DNF repo
concurrency:
group: deploy
cancel-in-progress: true
on:
workflow_call:
workflow_dispatch:
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: "Checkout"
uses: actions/checkout@v3
- name: "Download release"
uses: robinraju/release-downloader@v1.8
with:
latest: true
fileName: "*"
out-file-path: "builddir/packages"
- name: "Build DNF Repo"
run: |
docker run -t \
-v $PWD:/repo \
-e SIGNING_KEY \
ghcr.io/t2linux/fedora-dev:latest \
/repo/create-repo.sh
env:
SIGNING_KEY: ${{ secrets.SIGNING_KEY_F39 }}
- name: "Deploy DNF repo"
uses: nwtgck/actions-netlify@v2.0
env:
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }}
NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE_ID }}
with:
publish-dir: builddir/dnf-repo
production-deploy: ${{ startsWith(github.ref, 'refs/tags/v') }}