mirror of
https://github.com/lukaszraczylo/go-telegram.git
synced 2026-06-05 22:43:59 +00:00
bbbeb8461b
actions/checkout@v4 -> @v6, actions/setup-go@v5 -> @v6, peter-evans/create-pull-request@v7 -> @v8. Pinned major versions; all three were flagged by the runner deprecation notice (Node 20 forced off June 2 2026, removed Sept 16 2026).
34 lines
623 B
YAML
34 lines
623 B
YAML
name: pages
|
|
|
|
on:
|
|
push:
|
|
branches: [main]
|
|
paths:
|
|
- 'docs/**'
|
|
- '.github/workflows/pages.yml'
|
|
workflow_dispatch:
|
|
|
|
permissions:
|
|
contents: read
|
|
pages: write
|
|
id-token: write
|
|
|
|
concurrency:
|
|
group: pages
|
|
cancel-in-progress: false
|
|
|
|
jobs:
|
|
deploy:
|
|
environment:
|
|
name: github-pages
|
|
url: ${{ steps.deployment.outputs.page_url }}
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v6
|
|
- uses: actions/configure-pages@v5
|
|
- uses: actions/upload-pages-artifact@v3
|
|
with:
|
|
path: docs/
|
|
- id: deployment
|
|
uses: actions/deploy-pages@v4
|