Skip to content

Commit

Permalink
#1833 Update tools-dependencies-mirror-netlify.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
qdraw authored Nov 18, 2024
1 parent 566da37 commit c67bf24
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/tools-dependencies-mirror-netlify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,15 @@ 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:
- 'starsky/starsky-tools/download-mirror-exiftool.sh'
- '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
Expand All @@ -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/[email protected]
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"
Expand Down

0 comments on commit c67bf24

Please sign in to comment.