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 5f7a416 commit 5605628
Showing 1 changed file with 10 additions and 14 deletions.
24 changes: 10 additions & 14 deletions .github/workflows/tools-dependencies-mirror-netlify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,18 +42,14 @@ jobs:
working-directory: ./starsky-tools/build-tools/mirror/
run: touch index.html && ls -lah && pwd

- name: Install Netlify
run: npm install netlify-cli@17.10.1 -g

- name: Deploy to Netlify
uses: nwtgck/actions-netlify@v3.0
if: github.event_name != 'pull_request'
with:
publish-dir: './starsky-tools/build-tools/mirror/'
production-branch: master
github-token: ${{ secrets.GITHUB_TOKEN }}
deploy-message: "Deploy from GitHub Actions"
enable-pull-request-comment: false
enable-commit-comment: true
overwrites-pull-request-comment: true
env:
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }}
NETLIFY_SITE_ID: ${{ secrets.NETLIFY_MIRROR_SITE_ID }}
timeout-minutes: 1
id: netlify_deploy
working-directory: ./starsky-tools/build-tools/
run: |
netlify deploy \
--dir mirror \
--site ${{ secrets.NETLIFY_MIRROR_SITE_ID }} \
--auth ${{ secrets.NETLIFY_AUTH_TOKEN }}

0 comments on commit 5605628

Please sign in to comment.