[ci] Migrate netjsongraph.js GitHub Pages deployment to official Pages Actions

Aperta
#641 2 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 2 giorni

@anish-123-2006 ci sta già lavorando.

Dal 28/10/2026.

  • #654 di @Pratham21223 — chiusa senza merge

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
54/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
github, github-actions, javascript
Ambito
ci-cd, devops

Direzione di ricerca

Start by locating the workflow that publishes the site and the repository’s GitHub Pages settings. Replace the legacy branch push with the official Pages Actions flow, grant the deploy job the stated permissions, and protect its deployment environment. Verify that deployment succeeds and the existing published URL still works.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

Is your feature request related to a problem? Please describe.
The current GitHub Pages workflow publishes the site by pushing directly to the gh-pages branch with peaceiris/actions-gh-pages. This bypasses GitHub’s built-in Pages deployment flow and its environment controls.

Describe the solution you'd like
Migrate to GitHub’s official Pages Actions:

  • Replace peaceiris/actions-gh-pages with actions/configure-pages, actions/upload-pages-artifact, and actions/deploy-pages.
  • Preserve the existing build artifact path and set the repository’s Pages source to GitHub Actions.
  • Limit the deployment job’s permissions to pages: write and id-token: write.
  • Use a protected deployment environment and verify the published URL after deployment.

Describe alternatives you've considered
Keep publishing the built site by pushing directly to the gh-pages branch with peaceiris/actions-gh-pages.

Additional context
A maintainer may need to update repository-level Pages settings. Validate the updated workflow before opening a PR.

Lingua principale
JavaScript
Stelle
313
Fork
130
Merge medio
1g 6h
PR unite (30g)
5

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di openwisp/netjsongraph.js

Tutte le issue di openwisp/netjsongraph.js

Issue simili

Altre issue su JavaScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.