Permalink
Browse files

i think we are ready

  • Loading branch information...
1 parent 212a495 commit e388932a9e48f7185baaa84d494a917b89e86df4 @edk0 edk0 committed Mar 22, 2016
View
@@ -10,7 +10,9 @@ before_install:
- npm install myth
- npm install svgo
- openssl aes-256-cbc -K $encrypted_ac880c30010f_key -iv $encrypted_ac880c30010f_iv
- -in .deploy-key.enc -out .deploy-key -d && chmod go-rwx .deploy-key || true
-after_success: ./deploy.sh
+ -in deploy/key1.enc -out deploy/key1 -d && chmod go-rwx deploy/key1 || true
+- openssl aes-256-cbc -K $encrypted_2bfadd9dc6b8_key -iv $encrypted_2bfadd9dc6b8_iv
+ -in deploy/key2.enc -out deploy/key2 -d && chmod go-rwx deploy/key2 || true
+after_success: ./deploy/deploy.sh
notifications:
email: false
View
@@ -1,15 +1,8 @@
-title: 404 - Not found
+title: 404Not Found
slug: 404
---
-Sorry, the staff ran away with this page.
+You've followed an outdated link (sorry) or otherwise ended up at a page that
+doesn't exist.
-Try kindly asking them at [#freenode](irc://chat.freenode.net:6667/freenode) to bring it back.
-
-
-That didn't suit you apparently as you kept reading, but don't worry here's some steps you can take from here:
-
- * [Go to the start page](index)
-
- * [Learn how to connect to freenode](kb/connect/chat)
-
- * [Use internet protection](https://www.privateinternetaccess.com/pages/buy-vpn/freend/)
+Try starting from [the home page](index) or exploring the navigation links
+below.
@@ -1,6 +0,0 @@
-title: 500 - Internal Server Error
-slug: 500
----
-Something went wrong, and we have no one to blame.
-
-Try reloading the page in a moment, or go back to the [Start page](index).
View
@@ -1,26 +0,0 @@
-#!/bin/sh
-
-if [ ! -f .deploy-key ]; then exit; fi
-if [ -z "$TRAVIS_BRANCH" ]; then exit; fi
-
-BRANCH_DIR="$TRAVIS_BRANCH"
-
-if [ "$TRAVIS_PULL_REQUEST" != false ]; then
- if [ "$TRAVIS_BRANCH" != master ]; then exit; fi
-
- BRANCH_DIR="pull-$TRAVIS_PULL_REQUEST"
-fi
-
-export SSH_KEYFILE="$(readlink -f .deploy-key)"
-export GIT_SSH="$(readlink -f ssh.sh)"
-git clone -b gh-pages git@github.com:freenode/web-7.0.git .deploy || exit 1
-cd .deploy || exit 1
-git config user.name travis
-git config user.email travis@nowhere
-git rm -r "$BRANCH_DIR/*"
-mkdir -p "$BRANCH_DIR"
-cd "$BRANCH_DIR" || exit 1
-cp -r ../../out/* .
-git add -A
-git commit -m "travis: $TRAVIS_COMMIT"
-git push || exit 1
View
@@ -0,0 +1,43 @@
+#!/bin/sh
+
+if [ ! -f deploy/key1 ]; then exit; fi
+if [ -z "$TRAVIS_BRANCH" ]; then exit; fi
+
+BRANCH_DIR="$TRAVIS_BRANCH"
+
+if [ "$TRAVIS_PULL_REQUEST" != false ]; then
+ if [ "$TRAVIS_BRANCH" != master ]; then exit; fi
+
+ BRANCH_DIR="pull-$TRAVIS_PULL_REQUEST"
+fi
+
+export SSH_KEYFILE="$(readlink -f deploy/key1)"
+export GIT_SSH="$(readlink -f deploy/ssh.sh)"
+git clone -b gh-pages git@github.com:freenode/web-7.0.git .deploy || exit 1
+cd .deploy || exit 1
+git config user.name travis
+git config user.email travis@nowhere
+git rm -r "$BRANCH_DIR/*"
+mkdir -p "$BRANCH_DIR"
+cd "$BRANCH_DIR" || exit 1
+cp -r ../../out/* .
+git add -A
+git commit -m "travis: $TRAVIS_COMMIT"
+git push || exit 1
+cd ../..
+
+if [ "$TRAVIS_BRANCH" = master -a "$TRAVIS_PULL_REQUEST" = false ]; then
+ rm -rf .deploy
+ export SSH_KEYFILE="$(readlink -f deploy/key2)"
+ export GIT_SSH="$(readlink -f deploy/ssh.sh)"
+ git clone git@github.com:freenode/freenode.github.io.git .deploy || exit 1
+ cd .deploy || exit 1
+ git config user.name travis
+ git config user.email travis@nowhere
+ git ls-files -z | grep -vzZE '^(README.md|LICENSE|CNAME)$' | xargs -0 rm -f
+ cp -r ../out/* .
+ git add -A
+ git commit -m "travis: $TRAVIS_COMMIT"
+ git push || exit 1
+ cd ..
+fi
File renamed without changes.
View
Binary file not shown.
File renamed without changes.

0 comments on commit e388932

Please sign in to comment.