Compare commits
1 Commits
8982cab2bd
...
2e5b10330e
Author | SHA1 | Date |
---|---|---|
|
2e5b10330e |
|
@ -4,14 +4,14 @@ clone:
|
|||
|
||||
pipeline:
|
||||
compliance:
|
||||
image: node:16
|
||||
image: node:14
|
||||
commands:
|
||||
- npm install
|
||||
- npm run build
|
||||
when:
|
||||
event: [pull_request]
|
||||
netlify:
|
||||
image: node:16
|
||||
image: node:14
|
||||
secrets: [bot_token, netlify_site_id, netlify_auth_token]
|
||||
commands:
|
||||
- node netlify.js
|
||||
|
|
|
@ -3,6 +3,7 @@ const {exec} = require('child_process')
|
|||
const axios = require('axios')
|
||||
|
||||
const siteId = process.env.NETLIFY_SITE_ID
|
||||
console.log(process.env.CI_COMMIT_SOURCE_BRANCH)
|
||||
const branchSlug = slugify(process.env.CI_COMMIT_SOURCE_BRANCH)
|
||||
const prNumber = process.env.CI_COMMIT_PULL_REQUEST
|
||||
|
||||
|
|
Loading…
Reference in New Issue