/
githubmirror
/
Guide_3DS
Обзор
Документация
Войти
/
githubmirror
/
Guide_3DS
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
.github/workflows/publish.yml
54 строки
1 KB
lifehackerhansol
workflow: use Node 24
19 апр 2026, 10:52
Не верифицирован
19 апр 2026, 10:52
a66d2a2
Код
Авторство
О чём код?
name: Deploy site on: push: branches: [ master ] workflow_dispatch: jobs: build: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 with: persist-credentials: false submodules: recursive - name: Configure GitHub Pages uses: actions/configure-pages@v5 - name: Setup Node uses: actions/setup-node@v4 with: node-version: 24 cache: npm - name: Install dependencies run: npm ci - name: Build site run: npm run docs:build - name: Upload GitHub Pages artifact uses: actions/upload-pages-artifact@v3 with: path: docs/.vitepress/dist # Deployment job deploy: # Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages permissions: contents: read pages: write id-token: write 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