Publish again unpublished github pages project
Asked Answered
S

5

8

I un-published a repo in my account which was hosting using GitHub pages.

Now I want to publish it again, I cannot find any related option in GitHub pages settings.

Squash answered 3/9, 2022 at 16:45 Comment(0)
O
17

You can re-publish your GitHub Pages website by navigating to the Actions tab of your repository, click on the Pages build and deployment workflow, then click the Re-run all jobs button located in the upper right corner of the page. After the workflow run has completed, your site will be published.

Orndorff answered 15/9, 2022 at 14:35 Comment(0)
D
2

if u lost the republish button . don't worry go to actions. click pages build and deployment , then re-run all jobs pages.your site is published again github screenshot

Dymphia answered 20/9, 2022 at 17:15 Comment(2)
i dont see this option :(Hippopotamus
go to your GitHub repository settings and select pages and in build and deployment & select github actions select deploy from branch, if it doesn't works feel free to askDymphia
H
2

1. Take Action Tab on github.
2. Select Latest Workflow.
3. Click on Re-run all jobs button.

wait 2 minutes.
Hindenburg answered 23/5, 2023 at 10:13 Comment(1)
what is the difference from what you wrote and the accepted answerBalls
C
1

It might be a side-effect of the recent (Aug. 22, 2022) decision to Deprecate the theme picker for GitHub Pages:

That means there is no more "Choose a theme" button, and GitHub pages are now supposed to be published through a GitHub Actions workflow, using one of the starter workflow for GitHub Pages publication.

Catima answered 3/9, 2022 at 23:48 Comment(0)
J
1

Navigate to "Actions"

Actions

Click on New Work Flow

Go to bottom of page

In page section choose "Static HTML"

Static html

Click Configure & commit changes.

Go go Actions Again, on left most choose "Deploy with Static HTML"

Click "Run Workflow" on right most.

Run Workflow

Jolty answered 26/1, 2023 at 7:5 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.