Merge pull request #14085 from Koriumm/patch-15 #8227
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 records | |
on: | |
push: | |
branches: [main] | |
workflow_dispatch: | |
jobs: | |
publish: | |
if: github.repository == 'is-a-dev/register' | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: oven-sh/setup-bun@v1 | |
with: | |
bun-version: latest | |
- run: bun install | |
- run: bun test | |
- name: Publishing records | |
env: | |
CI: 1 | |
NODE_ENV: production | |
ENV: production | |
DOMAIN_USER: ${{ secrets.DOMAIN_USER }} | |
DOMAIN_API_KEY: ${{ secrets.DOMAIN_API_KEY }} | |
DOMAIN_API_HOST: ${{ secrets.DOMAIN_API_HOST }} | |
DOMAIN_API_PORT: ${{ secrets.DOMAIN_API_PORT }} | |
DOMAIN_DOMAIN: ${{ secrets.DOMAIN_DOMAIN }} | |
DOMAIN_HOST_IP: ${{ secrets.DOMAIN_HOST_IP }} | |
run: bun run publish-records |