Skip to content

Commit

Permalink
ci: add a renaming task for .env
Browse files Browse the repository at this point in the history
  • Loading branch information
hiroppy committed Feb 15, 2024
1 parent f80e3d1 commit 2967f35
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ jobs:
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/setup-node
- run: cp ./.env.example ./.env.local
- run: pnpm dev:db:setup
- run: pnpm build
- uses: actions/upload-artifact@v4
Expand All @@ -42,6 +43,7 @@ jobs:
- uses: actions/checkout@v4
- uses: ./.github/actions/setup-node
### πŸ‘‰ please remove ###
- run: cp ./.env.example ./.env.local
- run: pnpm dev:db:setup
env:
POSTGRES_URL: "postgresql://dev:1234@localhost:5432/dev?schema=public"
Expand All @@ -59,6 +61,7 @@ jobs:
- uses: ./.github/actions/setup-node
- run: pnpm exec playwright install chromium
### πŸ‘‰ please remove ###
- run: cp ./.env.example ./.env.local
- run: pnpm dev:db:setup
env:
POSTGRES_URL: "postgresql://dev:1234@localhost:5432/dev?schema=public"
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,7 @@ $ pnpm dev:db:setup
.github/workflows/ci.yml

- ### πŸ‘‰ please remove ###
- - run: cp ./.env.example ./.env.local
- - run: pnpm dev:db:setup
- env:
- POSTGRES_URL: "postgresql://dev:1234@localhost:5432/dev?schema=public"
Expand Down

0 comments on commit 2967f35

Please sign in to comment.