forked from OpenLineage/OpenLineage
-
Notifications
You must be signed in to change notification settings - Fork 0
31 lines (28 loc) · 946 Bytes
/
spec-deploy.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
name: Build & Deploy spec to Netlify
on:
push:
branches:
- migrate-docs
#- main # spec is released whenever pushed to main
jobs:
generate_spec:
# if: github.event.pull_request.merged == true
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- run: ./.github/workflows/release_spec.sh
#generate_openapi: TODO: to be done
netlify_deploy:
# if: github.event.pull_request.merged == true
name: 'Deploy to Netlify'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: jsmrcaga/[email protected]
with:
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_TOKEN_SECRET }}
NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE_ID }}
NETLIFY_DEPLOY_TO_PROD: true
install_command: "./.github/workflows/yarn_install.sh"
build_command: "./.github/workflows/yarn_build.sh"
build_directory: "website/build"