Skip to content

Commit

Permalink
fix(heroku): deployment optimization
Browse files Browse the repository at this point in the history
  • Loading branch information
Ealenn committed Jun 19, 2022
1 parent fa9eb2a commit 31428ca
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 20 deletions.
12 changes: 2 additions & 10 deletions .github/workflows/admin-heroku-manual.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,20 +11,12 @@ jobs:
working-directory: ./admin
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Extract branch name
shell: bash
run: echo "##[set-output name=branch;]$(echo ${GITHUB_REF##*/})"
id: extract_branch
- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version: 16.x
- name: Install, build, and test
run: |
npm ci
npm run build
env:
CI: true
- uses: akhileshns/[email protected]
with:
appdir: 'admin'
Expand Down
12 changes: 2 additions & 10 deletions .github/workflows/admin-heroku.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,20 +12,12 @@ jobs:
working-directory: ./admin
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Extract branch name
shell: bash
run: echo "##[set-output name=branch;]$(echo ${GITHUB_REF##*/})"
id: extract_branch
- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version: 16.x
- name: Install, build, and test
run: |
npm ci
npm run build
env:
CI: true
- uses: akhileshns/[email protected]
with:
appdir: 'admin'
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/core-heroku-manual.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ jobs:

steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Extract branch name
shell: bash
run: echo "##[set-output name=branch;]$(echo ${GITHUB_REF##*/})"
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/core-heroku.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ jobs:

steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Extract branch name
shell: bash
run: echo "##[set-output name=branch;]$(echo ${GITHUB_REF##*/})"
Expand Down

0 comments on commit 31428ca

Please sign in to comment.