mirror of
https://github.com/vacp2p/research.logos.co.git
synced 2026-02-19 11:57:37 -05:00
* Add new design * Use yarn instead of npm * Add 404 page style * Update "See VAC Openings" CTA * Change VAC to Vac * Change specs link * Keep post categories * Change code formatting * Update images * Update media links * Add media image default * Update package.json * Add twitter cards meta data * Add media section back * Remove images * Comment script for form * Change media urls to https * Import font locally * Add Anonymous font * Change inner page layout * Change pre code style * Add font preloading * Change post content styles * Add alt attribute * Change footer research links * Update gitignore * Add Fathom analytics * Update links * Change gif to video * Add work cards links back * Change footer spacing * Change logo size * Fix header * Centered section join * Make cards clickable * Align left section join * Remove graphic & video section about * Return logo size * Add post for Waku v1 vs Waku v2 bandwidth comparison (#43) * Add post for Waku v1 vs Waku v2 bandwidth comparison * Addressing PR comments * Added future work. Minor changes to intro. (cherry picked from commit007696cfc9) * Add <code> styles * Add Hanno page * Add opinion piece on ethics in surveillance tech (#44) * Add opinion piece on ethics in surveillance tech * Change published date. Added preface. * wrong date - today is 3rd (cherry picked from commitc64f5a889e) * Add circe page Co-authored-by: Hanno Cornelius <68783915+jm-clius@users.noreply.github.com> Co-authored-by: thecirce <95408261+thecirce@users.noreply.github.com> Co-authored-by: Hanno Cornelius <68783915+jm-clius@users.noreply.github.com> Co-authored-by: thecirce <95408261+thecirce@users.noreply.github.com>
26 lines
607 B
JavaScript
26 lines
607 B
JavaScript
const { promisify } = require('util')
|
|
const { publish } = require('gh-pages')
|
|
const ghpublish = promisify(publish)
|
|
|
|
/* fix for "Unhandled promise rejections" */
|
|
process.on('unhandledRejection', err => { throw err })
|
|
|
|
const distDir = '_site'
|
|
const branch = 'gh-pages'
|
|
const org = 'vacp2p'
|
|
const repo = 'vac.dev'
|
|
const repoUrl = `git@github.com:${org}/${repo}.git`
|
|
|
|
const main = async (url, branch)=> {
|
|
console.log(`Pushing to: ${url}`)
|
|
console.log(`On branch: ${branch}`)
|
|
await ghpublish(distDir, {
|
|
repo: url,
|
|
branch: branch,
|
|
dotfiles: true,
|
|
silent: false
|
|
})
|
|
}
|
|
|
|
main(repoUrl, branch)
|