Merge pull request #96 from grycap/master #45
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build and Deploy | |
on: | |
push: | |
branches: [master] | |
jobs: | |
build-and-deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/[email protected] | |
- name: Set EGI Check-in issuer and client ID | |
run: | | |
sed -i -e "s|\$EGI_CHECKIN_ISSUER|${{ secrets.EGI_CHECKIN_ISSUER }}|g" src/env.js | |
sed -i -e "s|\$EGI_CHECKIN_CLIENT_ID|${{ secrets.EGI_CHECKIN_CLIENT_ID }}|g" src/env.js | |
- name: Install and Build | |
run: | | |
npm install | |
npm run build | |
- name: Deploy | |
uses: JamesIves/[email protected] | |
with: | |
branch: gh-pages | |
folder: dist |