CircleCI:Firebaseにdeployする
実装例
.firebaserc
{
"projects": {
"default": "integrated-oath-xxx" …
{
"projects": {
"default": "integrated-oath-xxx" …
firebase deploy コマンド実行時に以下のエラーが発生
./firebase-deploy/node_modules/.bin/firebase deploy …
CircleCIはUTC(協定世界時)で動作しているため、JST(日本標準時)から9時間引いた時刻を設定する必要がある
version: 2.1 …
handlerHTTPステータスコード = 'エラー画面出力用関数'
handler404 = …
my_field = MyChoiceField(
...
choices=[
(optionのvalue, optionのinnerText), …
docker run --rm -i hadolint/hadolint < Dockerfile
※Docker for Windows をインストールしている …
C/C++のソースコードのビルド時に以下のエラーが発生
...
/usr/bin/ld: cannot find -lz
collect2: error: ld returned 1 exit …
cat <<EOF > /path/to/file
foo
bar
baz
EOF
from logging.config import dictConfig
import os
LOG_DIR = 'ログ出力先ディレクトリのパス'
if not …
import re
with open('/path/to/file') as f:
# ファイルから全行を取得(str型)
c = f.read()
# …