mirror of
https://github.com/servo/servo.git
synced 2025-08-12 00:45:33 +01:00
Clean up CI bash scripts, add docs/STYLE_GUIDE.md
This commit is contained in:
parent
a868bb2a90
commit
1e0d039511
6 changed files with 56 additions and 16 deletions
|
@ -1,10 +1,12 @@
|
|||
#!/bin/bash
|
||||
#!/usr/bin/env bash
|
||||
#
|
||||
# Helper script to upload docs to doc.servo.org.
|
||||
# Requires ghp-import (from pip)
|
||||
# GitHub API token must be passed in environment var TOKEN
|
||||
|
||||
set -e
|
||||
set -o errexit
|
||||
set -o nounset
|
||||
set -o pipefail
|
||||
|
||||
cd "$(dirname $0)/../.."
|
||||
|
||||
|
@ -15,4 +17,4 @@ cp etc/doc.servo.org/* target/doc/
|
|||
python components/style/properties/build.py servo html
|
||||
|
||||
ghp-import -n target/doc
|
||||
git push -qf https://${TOKEN}@github.com/servo/doc.servo.org.git gh-pages
|
||||
git push -qf "https://${TOKEN}@github.com/servo/doc.servo.org.git" gh-pages
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue