We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e9ef501 commit cd2b9ddCopy full SHA for cd2b9dd
.github/workflows/deploy.yml
@@ -26,14 +26,11 @@ jobs:
26
- name: Build package
27
run: npm run build
28
29
+ - name: Install Netlify CLI
30
+ run: npm install -g netlify-cli
31
+
32
- name: Deploy to Netlify
- uses: nwtgck/actions-netlify@v3
- with:
- publish-dir: '.'
33
- production-deploy: true
34
- github-token: ${{ secrets.GITHUB_TOKEN }}
35
- deploy-message: 'Deploy from GitHub Actions - ${{ github.sha }}'
36
- functions-dir: 'netlify/functions'
+ run: netlify deploy --prod --dir=. --functions=netlify/functions --message="Deploy from GitHub Actions - ${{ github.sha }}"
37
env:
38
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }}
39
NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE_ID }}
0 commit comments