Skip to content

Commit

Permalink
see commit message in build message
Browse files Browse the repository at this point in the history
  • Loading branch information
TangoYankee committed Sep 10, 2024
1 parent 4e600ff commit ceeb933
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/staging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
name: 🚀 Deploy server
environment:
name: staging
url: https://zap-api-staging.herokuapp.com
url: https://staging-zap-search-api.herokuapp.com
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand Down Expand Up @@ -69,16 +69,18 @@ jobs:
- name: Install dependencies
working-directory: client
run: yarn install --immutable --immutable-cache --check-cache
- name: Install netlify
run: npm i -g [email protected]
- name: Build client
working-directory: client
run: yarn run build
- name: Install netlify
# Use npm over yarn because yarn was not respecting the exact version of a dependency
run: npm i -g [email protected]
- name: Deploy client to Netlify
run: |
netlify deploy \
--dir client/dist \
--alias staging-action \
--site ${{secrets.NETLIFY_SITE_ID}} \
--auth ${{secrets.NETLIFY_AUTH_TOKEN}}
--auth ${{secrets.NETLIFY_AUTH_TOKEN}} \
--message ${{ github.event.head_commit.message }}

0 comments on commit ceeb933

Please sign in to comment.