From fad2a6cbfb2e7cdebb7cb0ad2f5cc91e2c9bc06b Mon Sep 17 00:00:00 2001 From: Nicolas Mattia Date: Sat, 29 Aug 2020 09:42:20 +0200 Subject: [PATCH] Update netlify deploy --- .github/workflows/netlify.yml | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/.github/workflows/netlify.yml b/.github/workflows/netlify.yml index 98b4e25..b1cf9d2 100644 --- a/.github/workflows/netlify.yml +++ b/.github/workflows/netlify.yml @@ -8,14 +8,10 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v1 - - uses: cachix/install-nix-action@v6 - name: "deploy to netlify" + uses: netlify/actions/cli@6c34c3fcafc69ac2e1d6dbf226560329c6dfc51b + with: + args: deploy --dir=./site --message="$GITHUB_SHA" --prod env: NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE_ID }} NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }} - run: | - nix-env -f ./nix -iA nodejs-10_x - npm install netlify-cli - ./node_modules/netlify-cli/bin/run deploy \ - --dir=./site \ - --message="$GITHUB_SHA" --prod