Skip to content

docs: add cover image and badges to README files #16

docs: add cover image and badges to README files

docs: add cover image and badges to README files #16

Workflow file for this run

name: Deploy Marusya to GitHub Pages
on:
push:
branches: ['main']
workflow_dispatch:
permissions:
contents: read
pages: write
id-token: write
concurrency:
group: 'pages'
cancel-in-progress: true
jobs:
build:
runs-on: ubuntu-latest
env:
VITE_BASE_PATH: /marusya/
VITE_API_URL: https://cinemaguide.skillbox.cc
steps:
- name: Checkout repo
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '22'
cache: 'yarn'
- name: Enable corepack
run: corepack enable
- name: Install dependencies
run: yarn install --frozen-lockfile
- name: Build static export
run: yarn build
- name: Setup Pages
uses: actions/configure-pages@v4
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: ./dist
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
needs: build
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4