Ukrainian translation for WebGL fundametals article #337
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: Build and Deploy | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
jobs: | |
build-and-deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout πππ₯€ | |
uses: actions/[email protected] | |
with: | |
persist-credentials: false | |
- name: Use Node.js π | |
uses: actions/setup-node@v1 | |
with: | |
node-version: '16.x' | |
- name: Install and Build π | |
run: | | |
npm i | |
npm run pre-build | |
npm run build-ci | |
env: | |
LESSON_BUILDER_ENV: production | |
- name: Deploy π¦ | |
if: ${{ github.event_name == 'push' }} | |
uses: JamesIves/[email protected] | |
with: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
BRANCH: gh-pages | |
FOLDER: out |