2019-12-08 17:13:53 +03:00
|
|
|
name: "netlify deploy"
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches:
|
|
|
|
- master
|
|
|
|
jobs:
|
|
|
|
netlify:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
2023-09-05 14:47:24 +03:00
|
|
|
- uses: actions/checkout@v4
|
2019-12-08 17:13:53 +03:00
|
|
|
- name: "deploy to netlify"
|
2022-10-15 19:04:22 +03:00
|
|
|
uses: netlify/actions/cli@375963b92b795c7b979927c580dd6f2a65ebcf28
|
2020-08-29 10:42:20 +03:00
|
|
|
with:
|
|
|
|
args: deploy --dir=./site --message="$GITHUB_SHA" --prod
|
2019-12-08 17:13:53 +03:00
|
|
|
env:
|
|
|
|
NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE_ID }}
|
|
|
|
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }}
|