Skip to content

docs: update questions #20

docs: update questions

docs: update questions #20

Workflow file for this run

name: Deploy to Github Pages
on:
push:
branches:
- main
workflow_dispatch:
concurrency:
group: deploy-pages
cancel-in-progress: true
permissions:
contents: read
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout source repository
uses: actions/checkout@v6
with:
persist-credentials: false
- name: Setup Node
uses: actions/setup-node@v6
with:
node-version: 24
cache: npm
- name: Install dependencies
run: npm ci
- name: Build site
run: npm run build
- name: Deploy dist
env:
TOKEN: ${{ secrets.ANGULAR_RU_BOT_PAT }}
run: |
cd dist
git init
git config user.name "angular-ru-bot"
git config user.email "angular-ru@yandex.ru"
git add .
git commit -m "deploy: from ${GITHUB_REPOSITORY}@${GITHUB_SHA}"
git branch -M main
git remote add origin "https://x-access-token:${TOKEN}@github.com/Angular-RU/interview.git"
git push --force origin main