It's quite easy and the same process applies to all Firebase features with minor changes.
In order to deploy you'll need a deployment token (I named it FIREBASE_TOKEN
) and it can be
acquired by using the following command
firebase login:ci
It's quite easy and the same process applies to all Firebase features with minor changes.
In order to deploy you'll need a deployment token (I named it FIREBASE_TOKEN
) and it can be
acquired by using the following command
firebase login:ci
I hereby claim:
To claim this, I am signing this object:
upstream target_service { | |
server [TARGET SERVICE NAME/IP AND PORT]; | |
} | |
server { | |
# ... other stuff ... | |
location /.well-known/acme-challenge { | |
proxy_set_header Host $host; | |
proxy_set_header X-Real-IP $remote_addr; | |
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; |
version: '3' | |
services: | |
app: | |
image: ruby:2.2.7 | |
volumes: | |
- .:/app | |
ports: | |
- "3000:3000" | |
depends_on: |
options: | |
docker: true | |
pipelines: | |
branches: | |
master: | |
- step: | |
image: google/cloud-sdk:latest | |
name: Deploy to production | |
deployment: production | |
caches: |
# ---- Base Node ---- | |
FROM ubuntu AS base | |
# install the core dependencies | |
RUN apt-get install -y my package list | |
# set working directory | |
WORKDIR /app | |
# copy project file | |
COPY Gemfile . | |
COPY Gemfile.lock |
{ | |
"extends": "airbnb-base" | |
} |
const TAPI_SECRET = '1ebda7d457ece1330dff1c9e04cd62c4e02d1835968ff89d2fb2339f06f73028'; | |
const EXPECTED_TAPI_MAC = '7f59ea8749ba596d5c23fa242a531746b918e5e61c9f6c8663a699736db503980f3a507ff7e2ef1336f7888d684a06c9a460d18290e7b738a61d03e25ffdeb76'; | |
const MESSAGE = '/tapi/v3/?tapi_method=list_orders&tapi_nonce=1'; | |
const crypto = require('crypto'); | |
const hmac = crypto.createHmac('sha512', TAPI_SECRET); | |
hmac.update(MESSAGE); | |
const TAPI_MAC = hmac.digest('hex'); |
curl https://raw.githubusercontent.com/dotnet/cli/master/scripts/obtain/uninstall/dotnet-uninstall-pkgs.sh | sudo bash
version: "2" | |
services: | |
mssql: | |
image: microsoft/mssql-server-linux | |
volumes: | |
- mssql-volume:/var/opt/mssql | |
environment: | |
- ACCEPT_EULA=Y | |
- SA_PASSWORD=Test@123 |