Skip to content

Update GitHub Actions workflow with permissions #2

Update GitHub Actions workflow with permissions

Update GitHub Actions workflow with permissions #2

Workflow file for this run

name: Deploy to GitHub Pages
on:
push:
branches:
- main # или master, в зависимости от названия вашей основной ветки
permissions:
contents: write
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Deploy to GitHub Pages
uses: JamesIves/github-pages-deploy-action@v4
with:
branch: gh-pages
folder: .
token: ${{ secrets.GITHUB_TOKEN }}