Kanika/spotcon 37416/restrict scaledown (#833) #729
This file contains hidden or 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: Deploy | |
| on: | |
| push: | |
| branches: | |
| - master | |
| tags-ignore: | |
| - "*.*" | |
| jobs: | |
| deploy: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v2 | |
| with: | |
| persist-credentials: false | |
| - uses: actions/setup-node@v1 | |
| with: | |
| node-version: 14 | |
| registry-url: https://registry.npmjs.org | |
| - name: Install Yarn | |
| run: npm install -g yarn | |
| - name: Install and Bundle | |
| run: | | |
| yarn install | |
| yarn bundle:redoc | |
| yarn bundle:swagger | |
| cp flexera-spot.png build/flexera-spot.png | |
| - name: Deploy Local | |
| uses: JamesIves/github-pages-deploy-action@3.7.1 | |
| with: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| BRANCH: gh-pages | |
| FOLDER: build | |
| - name: Deploy Upstream | |
| uses: JamesIves/github-pages-deploy-action@3.7.1 | |
| with: | |
| ACCESS_TOKEN: ${{ secrets.ACCESS_TOKEN }} | |
| REPOSITORY_NAME: spotinst/docs | |
| BRANCH: gh-pages | |
| FOLDER: build | |
| TARGET_FOLDER: api | |
| CLEAN: false |