Skip to content

feat(passport): identity merge (#2847) #523

feat(passport): identity merge (#2847)

feat(passport): identity merge (#2847) #523

Workflow file for this run

name: Email
on:
push:
branches:
- main
defaults:
run:
working-directory: platform/email
jobs:
deploy:
runs-on: ubuntu-latest
environment: dev
steps:
- uses: actions/checkout@v3
- uses: cachix/install-nix-action@v18
with:
nix_path: nixpkgs=channel:nixos-unstable
- run: nix-build ../platform.nix
- name: Cache Dependencies
id: cache-modules
uses: actions/cache@v3
with:
path: |
node_modules
.yarn
key: ${{ runner.os }}-node_modules-${{ hashFiles('yarn.lock') }}
- name: Install Dependencies
run: yarn install
- name: Test
run: yarn run test
- name: Deploy
uses: cloudflare/wrangler-action@2.0.0
with:
wranglerVersion: '3.19.0'
apiToken: ${{ secrets.TOKEN_CLOUDFLARE_API }}
accountId: ${{ secrets.INTERNAL_CLOUDFLARE_ACCOUNT_ID }}
workingDirectory: platform/email
command: publish --config wrangler.dev.toml --env dev
environment: 'dev'
secrets: |
INTERNAL_DKIM_DOMAIN
INTERNAL_DKIM_SELECTOR
KEY_DKIM_PRIVATEKEY
SECRET_TEST_API_TOKEN
env:
NODE_ENV: 'development'
INTERNAL_DKIM_DOMAIN: ${{ secrets.INTERNAL_DKIM_DOMAIN }}
INTERNAL_DKIM_SELECTOR: ${{ secrets.INTERNAL_DKIM_SELECTOR }}
KEY_DKIM_PRIVATEKEY: ${{ secrets.KEY_DKIM_PRIVATEKEY }}
SECRET_TEST_API_TOKEN: ${{ secrets.SECRET_TEST_API_TEST_TOKEN }}