mirror of
https://github.com/logos-messaging/js-waku.git
synced 2026-01-02 13:53:12 +00:00
ci: fix deploy.js script to use import
Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
parent
fa43c0ce05
commit
91fbcb5fb9
@ -1,10 +1,11 @@
|
||||
const { promisify } = require('util')
|
||||
const { publish } = require('gh-pages')
|
||||
const ghpublish = promisify(publish)
|
||||
import { promisify } from 'util'
|
||||
import { publish } from 'gh-pages'
|
||||
|
||||
/* fix for "Unhandled promise rejections" */
|
||||
process.on('unhandledRejection', err => { throw err })
|
||||
|
||||
const ghpublish = promisify(publish)
|
||||
|
||||
const Args = process.argv.slice(2)
|
||||
const USE_HTTPS = Args[0] && Args[0].toUpperCase() === 'HTTPS'
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user