Skip to content

Commit

Permalink
Update netlify deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
nmattia committed Aug 29, 2020
1 parent 89ae775 commit fad2a6c
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions .github/workflows/netlify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit fad2a6c

Please sign in to comment.