Skip to content

Commit

Permalink
Merge pull request #2139 from EnterpriseDB/ci/george/netlify-build-ac…
Browse files Browse the repository at this point in the history
…tion

Ci/george/netlify build action
  • Loading branch information
josh-heyer authored Dec 16, 2021
2 parents 114d0ab + 9a5968b commit c652407
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
6 changes: 5 additions & 1 deletion .github/workflows/deploy-develop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ on:
- develop
workflow_dispatch:

concurrency:
group: ${{ github.ref }}
cancel-in-progress: true

jobs:
build-deploy:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -74,7 +78,7 @@ jobs:

- name: Netlify deploy
run: |
sudo npm install -g netlify-cli
sudo npm install -g netlify-cli@8.1.3
netlify deploy --dir=public --prod
env:
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }}
Expand Down
6 changes: 5 additions & 1 deletion .github/workflows/deploy-main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ on:
- main
workflow_dispatch:

concurrency:
group: ${{ github.ref }}
cancel-in-progress: true

jobs:
build-deploy:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -77,7 +81,7 @@ jobs:

- name: Netlify deploy
run: |
sudo npm install -g netlify-cli
sudo npm install -g netlify-cli@8.1.3
netlify deploy --dir=public --prod
env:
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }}
Expand Down

0 comments on commit c652407

Please sign in to comment.