mirror of
https://github.com/t2linux/fedora.git
synced 2026-04-30 13:51:42 -07:00
Remove netlify deploy workflow
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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') }}
|
||||
Reference in New Issue
Block a user