fix: remove username required #18
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: Run migrations | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
migrate: | |
name: Run migrations | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Setup Bun | |
uses: oven-sh/setup-bun@v1 | |
with: | |
bun-version: latest | |
- name: Install dependencies | |
run: bun install --frozen-lockfile | |
- uses: Infisical/secrets-action@v1.0.7 | |
with: | |
client-id: ${{ secrets.INFISICAL_CLIENT_ID }} | |
client-secret: ${{ secrets.INFISICAL_CLIENT_SECRET }} | |
env-slug: "prod" | |
project-slug: "migos-ve-8u" | |
export-type: "file" | |
- name: Run migrations | |
run: bun run db:migrate |