1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-11-06 09:20:43 +01:00

Fix deploy workflow (#228)

* fixing the snap package name and adding an npm install to the npm release

* fixing the manual deploy parser
This commit is contained in:
Joseph Flinn 2021-02-03 10:42:11 -08:00 committed by GitHub
parent 7dbcdbdd2e
commit 4ae25c5db5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -24,7 +24,7 @@ jobs:
- name: Create Deploy version vars
id: create_tags
run: |
if ! [[ "${{ github.event_name }}" -eq "release" ]]; then
if [ "${{ github.event_name }}" != "release" ]; then
case "${RELEASE_TAG_NAME_INPUT:0:1}" in
v)
echo "RELEASE_NAME=${RELEASE_TAG_NAME_INPUT:1}" >> $GITHUB_ENV
@ -138,6 +138,11 @@ jobs:
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
- name: npm setup
run: |
npm install
npm run sub:init
- name: npm install
run: npm install