Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump tough-cookie from 4.1.2 to 4.1.3 in /mosip-bio-device #27

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
52 changes: 52 additions & 0 deletions .github/workflows/push_trigger.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
name: Build and Push

on:
workflow_dispatch:
inputs:
destination_branch:
description: 'Provide artifactory branch'
required: true
type: string

jobs:
build-and-push:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2

- name: npm Install
run: |
cd sign-in-with-esignet
npm i
- name: Build APK
run: |
cd sign-in-with-esignet
npm run build
- name: Zip dist directory
run: |
cd sign-in-with-esignet
mv dist sign-in-with-esignet
zip -r sign-in-with-esignet.zip sign-in-with-esignet/

- name: Upload ZIP artifact
uses: actions/upload-artifact@v2
with:
name: sign-in-with-esignet
path: sign-in-with-esignet/sign-in-with-esignet.zip

- name: Copy ZIP file to esignet-plugins directory
run: |
mkdir -p esignet-plugins
cp ./sign-in-with-esignet/sign-in-with-esignet.zip esignet-plugins/

- name: Pushes esignet-plugin folder
uses: datalbry/[email protected]
env:
API_TOKEN_GITHUB: ${{ secrets.ACTION_PAT }}
with:
source_folder: esignet-plugins
destination_repo: mosip/artifactory-ref-impl
destination_folder: artifacts/src/esignet-plugins
destination_branch: ${{ github.event.inputs.destination_branch }}
user_name: mosip
12 changes: 6 additions & 6 deletions mosip-bio-device/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.