Skip to content

Update dependency @visual-framework/vf-tabs to v2.1.8 #47

Update dependency @visual-framework/vf-tabs to v2.1.8

Update dependency @visual-framework/vf-tabs to v2.1.8 #47

Workflow file for this run

name: Build and Deploy content pages to GitHub Pages
on:
push:
branches:
- master # Trigger on push to the 'main' branch
pull_request:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18]
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- name: install and test
run: |
npm install -g yarn
npm install -g gulp
yarn install
gulp build # to do: we should make this run by `npm test`
- name: Upload artifacts
uses: actions/upload-artifact@v3
with:
name: build-artifacts
path: ./build # Adjust this path based on your build output directory
deploy:
needs: build
runs-on: ubuntu-latest
if: github.ref == 'refs/heads/master' # Deploy only on the main branch
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Download artifacts
uses: actions/download-artifact@v3
with:
name: build-artifacts
path: ./build # Adjust this path based on your build output directory
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./build # The directory to deploy (output of the build)
publish_branch: gh-pages # Deploy to the 'gh-pages' branch