Skip to content

build(deps): bump actions/checkout from 2 to 4 #511

build(deps): bump actions/checkout from 2 to 4

build(deps): bump actions/checkout from 2 to 4 #511

Workflow file for this run

name: Build and Deploy to Netlify
on:
push:
pull_request:
permissions:
contents: read
statuses: write
deployments: write
jobs:
build:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- run: npm ci
- run: npm run build
- name: Deploy to Netlify
uses: nwtgck/actions-netlify@v3
with:
publish-dir: './dist'
# TODO: change to master
production-branch: develop
github-token: ${{ secrets.GITHUB_TOKEN }}
deploy-message: "Deploy from GitHub Actions"
enable-pull-request-comment: false
enable-commit-comment: false
env:
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }}
NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE_ID }}
timeout-minutes: 1