From c67bf2470baefe7ed3e56c42f8cc914429fd3234 Mon Sep 17 00:00:00 2001 From: Dion van Velde Date: Mon, 18 Nov 2024 16:07:50 +0100 Subject: [PATCH] #1833 Update tools-dependencies-mirror-netlify.yml --- .../workflows/tools-dependencies-mirror-netlify.yml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/.github/workflows/tools-dependencies-mirror-netlify.yml b/.github/workflows/tools-dependencies-mirror-netlify.yml index af497d473..b1d1d6633 100644 --- a/.github/workflows/tools-dependencies-mirror-netlify.yml +++ b/.github/workflows/tools-dependencies-mirror-netlify.yml @@ -6,6 +6,7 @@ on: - 'starsky/starsky-tools/download-mirror-ffmpeg.sh' - 'starsky/starsky-tools/download-mirror-geonames.sh' - 'starsky/starsky-tools/download-mirror.sh' + - '.github/workflows/tools-dependencies-mirror-netlify.yml' push: branches: [ master ] paths: @@ -13,6 +14,7 @@ on: - 'starsky/starsky-tools/download-mirror-ffmpeg.sh' - 'starsky/starsky-tools/download-mirror-geonames.sh' - 'starsky/starsky-tools/download-mirror.sh' + - '.github/workflows/tools-dependencies-mirror-netlify.yml' workflow_dispatch: name: Tools dependencies mirror netlify @@ -29,11 +31,17 @@ jobs: working-directory: starsky-tools/build-tools run: bash download-mirror.sh + - name: Upload a Build Artifact + uses: actions/upload-artifact@v4 + with: + name: build-tools-mirror + path: ./starsky/starsky-tools/build-tools/mirror + - name: Deploy to Netlify uses: nwtgck/actions-netlify@v3.0 if: github.event_name != 'pull_request' with: - publish-dir: './starsky-tools/build-tools/mirror' + publish-dir: './starsky/starsky-tools/build-tools/mirror' production-branch: master github-token: ${{ secrets.GITHUB_TOKEN }} deploy-message: "Deploy from GitHub Actions"