Updated favicon/logo #191
Workflow file for this run
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: Continuous Deployment | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
integration-tests: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v1 | |
- name: Install Node | |
uses: actions/setup-node@v1 | |
with: | |
node-version: 16 | |
- name: Configure | |
run: npm install | |
- name: Build | |
run: npm run build | |
- name: Build Schemas | |
run: npm run buildschemas | |
- name: Run tests | |
run: npm run test | |
deploy: | |
if: github.ref == 'refs/heads/master' | |
runs-on: ubuntu-latest | |
needs: [integration-tests] | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v1 | |
- name: Install Node | |
uses: actions/setup-node@v1 | |
with: | |
node-version: 16 | |
- name: Configure | |
run: npm install | |
- name: Build | |
run: npm run build | |
- name: Build Schemas | |
run: npm run buildschemas | |
- name: Publush to Github Pages | |
uses: JamesIves/[email protected] | |
with: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
BRANCH: gh-pages | |
FOLDER: .vuepress/dist | |
CLEAN: true |