Skip to content

wip

wip #1151

Workflow file for this run

name: Netlify
on: push
jobs:
Deploy:
runs-on: ubuntu-latest
env:
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }}
steps:
- uses: actions/checkout@v2
- uses: actions/[email protected]
with:
node-version: 14
- run: yarn install --ci
- uses: nelonoel/[email protected]
- run: npx typedoc
- name: Publish preview
uses: jsmrcaga/[email protected]
if: env.NETLIFY_AUTH_TOKEN
with:
NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE_ID }}
NETLIFY_AUTH_TOKEN: ${{ env.NETLIFY_AUTH_TOKEN }}
NETLIFY_DEPLOY_MESSAGE: Preview ${{ env.BRANCH_NAME }}
build_directory: docs
deploy_alias: ${{ env.BRANCH_NAME }}
NETLIFY_DEPLOY_TO_PROD: ${{ env.BRANCH_NAME == 'master' }}
build_command: echo
- name: Status check
uses: Sibz/[email protected]
if: env.NETLIFY_AUTH_TOKEN
with:
authToken: ${{ secrets.GITHUB_TOKEN }}
context: Netlify Site
state: success
target_url: https://${{ env.BRANCH_NAME }}--creta.netlify.app