1
1
mirror of https://github.com/nmattia/niv.git synced 2024-11-08 08:26:02 +03:00
niv/.github/workflows/netlify.yml
dependabot[bot] 9341b1027d
Bump actions/checkout from 3 to 4 (#376)
Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-05 13:47:24 +02:00

18 lines
462 B
YAML

name: "netlify deploy"
on:
push:
branches:
- master
jobs:
netlify:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: "deploy to netlify"
uses: netlify/actions/cli@375963b92b795c7b979927c580dd6f2a65ebcf28
with:
args: deploy --dir=./site --message="$GITHUB_SHA" --prod
env:
NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE_ID }}
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }}