feat: add passport and residentPermit for vendors #186
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Publish to Digital Ocean | |
on: | |
push: | |
branches: | |
- develop | |
jobs: | |
publish-do: | |
environment: develop | |
runs-on: development | |
steps: | |
- name: Checkout Repo | |
uses: actions/checkout@master | |
- name: Fetch secrets | |
env: | |
ENV_SECRETS: ${{ secrets.ENV_SECRETS }} | |
run: echo "$ENV_SECRETS" > env.json | |
- name: Create service account for storage | |
env: | |
GCP_SERVICE_ACCOUNT: ${{ secrets.GCP_SERVICE_ACCOUNT }} | |
run: echo "$GCP_SERVICE_ACCOUNT" > services/api/credentials.json | |
- name: Install dependencies | |
run: | | |
sudo npm -g i pnpm@8 | |
pnpm install | |
- name: Docker Stop Existing Run | |
run: sudo make prod-stop | |
- name: Docker Build | |
run: sudo make prod-build | |
- name: Docker Start | |
run: sudo make prod-start-detach |