Skip to content

chore(samples): add vue sample #22

chore(samples): add vue sample

chore(samples): add vue sample #22

Workflow file for this run

name: Github Page
on:
push:
branches:
- main
jobs:
github-page:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Node.js environment
uses: actions/setup-node@v3
with:
node-version: 20
always-auth: true
registry-url: https://npm.pkg.github.com/
scope: '@srgssr'
env:
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Install dependencies
env:
CI: true
run: |
npm pkg delete scripts.prepare
npm ci
- name: Run build
run: |
npm run build
- name: Deploy GitHub Page 🚀
uses: JamesIves/github-pages-deploy-action@releases/v4
with:
branch: gh-pages
folder: dist
force: false
clean-exclude: pr-preview/
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}