Skip to content

Commit

Permalink
chore: improvements to the prod deployment workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
dweller23 committed Jun 8, 2022
1 parent faf0b74 commit edeaf51
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
8 changes: 7 additions & 1 deletion .github/workflows/promote-to-region-prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,11 @@ jobs:
- name: Checkout
uses: actions/checkout@v2

- uses: actions/cache@v2
with:
path: node_modules
key: node-modules-${{ hashFiles('yarn.lock') }}

- name: Install packages
run: yarn

Expand All @@ -30,7 +35,8 @@ jobs:
script: return context.payload.release.name.split('-')[0]
result-encoding: string

- name: release
# TODO: this could use an artifact from GH Actions rather than from a release
- name: Get artifact
uses: dsaltares/fetch-gh-release-asset@master
with:
repo: ${{ github.repository }}
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "deploy-with-release-draft-poc",
"version": "0.0.20",
"version": "0.0.21",
"private": true,
"scripts": {
"build": "tsc",
Expand Down

0 comments on commit edeaf51

Please sign in to comment.