Skip to content

Commit bd27f96

Browse files
committed
[WIP] Fix heroku build error
1 parent 9c866d3 commit bd27f96

File tree

1 file changed

+19
-14
lines changed

1 file changed

+19
-14
lines changed

.github/workflows/backend-staging-deploy.yml

Lines changed: 19 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
11
name: Deploy backend to staging
22

33
on:
4-
push:
5-
branches:
6-
- master
7-
paths-ignore:
8-
- "web/**"
9-
- "CHANGELOG.md"
4+
pull_request:
5+
# push:
6+
# branches:
7+
# - master
8+
# paths-ignore:
9+
# - "web/**"
10+
# - "CHANGELOG.md"
1011

1112
permissions:
1213
contents: read
@@ -34,14 +35,18 @@ jobs:
3435
run: curl https://cli-assets.heroku.com/install.sh | sh
3536

3637
- name: Install builds plugin
38+
# run: heroku plugins:install @heroku-cli/heroku-builds
3739
run: heroku plugins:install heroku-builds
3840

39-
- name: Build app into tarball
40-
run: |
41-
uv build --sdist
41+
- name: Verify builds plugin
42+
run: heroku plugins
4243

43-
- name: Create Heroku Build
44-
run: heroku builds:create -a dandi-api-staging --source-tar dist/*.tar.gz
45-
env:
46-
HEROKU_API_KEY: ${{ secrets.HEROKU_API_KEY }}
47-
HEROKU_EMAIL: ${{ secrets.HEROKU_EMAIL }}
44+
# - name: Build app into tarball
45+
# run: |
46+
# uv build --sdist
47+
48+
# - name: Create Heroku Build
49+
# run: heroku builds:create -a dandi-api-staging --source-tar dist/*.tar.gz
50+
# env:
51+
# HEROKU_API_KEY: ${{ secrets.HEROKU_API_KEY }}
52+
# HEROKU_EMAIL: ${{ secrets.HEROKU_EMAIL }}

0 commit comments

Comments
 (0)