Merge pull request #3 from FuelLabs/helm/update-helm-chart-name #6
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: GitHub Pages | |
on: | |
push: | |
branches: | |
- master | |
workflow_dispatch: | |
env: | |
NODE_VERSION: '16' | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: npm ci and build | |
env: | |
CI: true | |
run: | | |
cd app && npm ci && npm run build | |
cp -r build ../build | |
cp ../CNAME ../build | |
- name: Deploy | |
uses: peaceiris/actions-gh-pages@v3 | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
publish_dir: ./build |