Files
topola-viewer/.github/workflows/deploy-gh-pages.yml
Przemek Więch 6b1270fa3c Don't run tests in deploy github actions
Tests already run on all commits.
2026-05-09 22:11:42 +02:00

27 lines
592 B
YAML

name: Deploy to GitHub Pages
on:
workflow_dispatch:
workflow_call:
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version: 18.x
cache: 'npm'
- run: npm ci
- run: npm run build
- name: Deploy
run: |
git remote set-url origin https://git:${GITHUB_TOKEN}@github.com/${GITHUB_REPOSITORY}.git
npm run deploy -- -u "github-actions-bot <support+actions@github.com>"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}