Skip to content

sova.sh

sova.sh #92

Workflow file for this run

name: Github Pages Astro CI
on:
push:
branches: [main]
workflow_dispatch:
jobs:
ru:
runs-on: ubuntu-22.04
steps:
- name: πŸ›ŽοΈ Checkout
uses: actions/checkout@v3
- name: πŸ“¦ Setup pnpm
uses: pnpm/action-setup@v2
- name: 🐧 Use Node.js v18.x
uses: actions/setup-node@v3
with:
node-version: v18.x
cache: 'pnpm'
- name: πŸ” Installation
run: pnpm install
- name: πŸ”§ Build RU β€” sova.dev
run: pnpm build
env:
DEVTO_API_KEY: '${{ secrets.DEVTO_API_KEY }}'
YOUTUBE_API_KEY: '${{ secrets.YOUTUBE_API_KEY }}'
EFFECTOR_COMMUNITY_API_KEY: '${{ secrets.EFFECTOR_COMMUNITY_API_KEY }}'
SIMPLECAST_API_KEY: '${{ secrets.SIMPLECAST_API_KEY }}'
PUBLIC_SITE: https://sova.sh
PUBLIC_LANGUAGE: ru
PUBLIC_GTAG: UA-67236238-5
- name: πŸš€ Deploy
uses: JamesIves/[email protected]
with:
branch: gh-pages
folder: ./dist
en:
runs-on: ubuntu-22.04
steps:
- name: πŸ›ŽοΈ Checkout
uses: actions/checkout@v3
- name: πŸ“¦ Setup pnpm
uses: pnpm/action-setup@v2
- name: 🐧 Use Node.js v18.x
uses: actions/setup-node@v3
with:
node-version: v18.x
cache: 'pnpm'
- name: πŸ” Installation
run: pnpm install
- name: πŸ”§ Build EN β€” sergeysova.com
run: pnpm build
env:
DEVTO_API_KEY: '${{ secrets.DEVTO_API_KEY }}'
YOUTUBE_API_KEY: '${{ secrets.YOUTUBE_API_KEY }}'
EFFECTOR_COMMUNITY_API_KEY: '${{ secrets.EFFECTOR_COMMUNITY_API_KEY }}'
SIMPLECAST_API_KEY: '${{ secrets.SIMPLECAST_API_KEY }}'
PUBLIC_SITE: https://sergeysova.com
PUBLIC_LANGUAGE: en
PUBLIC_GTAG: G-PHKCHPT847
- name: πŸš€ Deploy
uses: JamesIves/[email protected]
with:
branch: gh-pages
folder: ./dist
repository-name: sergeysova/sergeysova.com
token: '${{ secrets.ACCESS_TOKEN }}'