From 40b9d8a10c22e787a13df2d7d86d30a516fcb18e Mon Sep 17 00:00:00 2001 From: Radu Coravu Date: Sun, 21 Jan 2024 09:26:22 +0200 Subject: [PATCH] Update publish.yml --- .github/workflows/publish.yml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 7ed32041..d9312fca 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -24,9 +24,11 @@ jobs: run: | cd ./build ./gradlewCustom --info --stacktrace - - uses: jsmrcaga/action-netlify-deploy@v2.0.0 + - name: Publish + uses: South-Paw/action-netlify-cli@1.0.1 + id: netlify with: + args: 'deploy --json --prod --dir \"./site\" --message \"production [${{ github.sha }}]\"' + env: NETLIFY_AUTH_TOKEN: ${{ secrets.OXYGEN_XML_BLOG_NETLIFY }} - NETLIFY_DEPLOY_TO_PROD: true - NETLIFY_SITE_ID: oxygenxmlblog - build_directory: site + NETLIFY_SITE_ID: ${{ secrets.OXYGEN_XML_BLOG_NETLIFY_SIDE_ID }}