Build(deps): bump netlify from 6.1.29 to 13.1.14 #3380
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "build-test" | |
on: | |
push: | |
pull_request: | |
permissions: | |
statuses: write | |
deployments: write | |
pull-requests: write | |
jobs: | |
build: # make sure build/ci work properly | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 20 | |
- uses: actions/checkout@v4 | |
- run: npm ci | |
- run: npm run all | |
test: # make sure the action works on a clean machine without building | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Create a simple Web site | |
run: mkdir -p deploy_dist && echo -e "<pre>$(date -u)\n$GITHUB_SHA\n$GITHUB_REF</pre>" > deploy_dist/index.html | |
- uses: ./ | |
id: deploy-to-netlify | |
with: | |
publish-dir: './deploy_dist' | |
production-branch: master | |
github-token: ${{ secrets.GITHUB_TOKEN }} | |
deploy-message: "Deploy from GitHub Actions" | |
functions-dir: './functions-test' | |
env: | |
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }} | |
NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE_ID }} | |
- run: "echo 'outputs.deploy-url: ${{ steps.deploy-to-netlify.outputs.deploy-url }}'" |