Use Codeberg CI to auto-publish pages #2

Open
opened 10 months ago by circlebuilder · 4 comments
Owner

See: Codeberg/pages-server#35

Also in https://codeberg.org/hexo-test/pages/src/branch/pages/.woodpecker.yml there's an example of someone using the Woodpecker CI of codeberg (I thought CI services wasn't available yet). There are some issues though at this moment Codeberg/pages-server#36 but we can investigate setting this up for our own site.

See: https://codeberg.org/Codeberg/pages-server/issues/35 Also in https://codeberg.org/hexo-test/pages/src/branch/pages/.woodpecker.yml there's an example of someone using the Woodpecker CI of codeberg (I thought CI services wasn't available yet). There are some issues though at this moment https://codeberg.org/Codeberg/pages-server/issues/36 but we can investigate setting this up for our own site.
Poster
Owner

Before going full CI we may use a shell script to publish. The second bullet point in this comment Codeberg/Documentation#27 provides a possible solution (though I didn't get it to work yet, maybe you can take a look as well @CSDUMMI )

In the same comment there's also a link to Drone CI scripts that may be of use.

Before going full CI we may use a shell script to publish. The second bullet point in this comment https://codeberg.org/Codeberg/Documentation/issues/27#issuecomment-198386 provides a possible solution (though I didn't get it to work yet, maybe you can take a look as well @CSDUMMI ) In the same comment there's also a link to Drone CI scripts that may be of use.
Owner

I've just created a build.sh script to make the process somewhat easier.

I've just created a build.sh script to make the process somewhat easier.
Poster
Owner

The script make a copy of the whole project in pages, so we should fix that (there are broken pages now: double menu entries and 404 page not working).

The script make a copy of the whole project in `pages`, so we should fix that (there are broken pages now: double menu entries and 404 page not working).
Poster
Owner

Besides above-mentioned "Specify sub-folder location" issue, this issue is worth checking out as well: Codeberg/pages-server#59

Besides above-mentioned "Specify sub-folder location" issue, this issue is worth checking out as well: https://codeberg.org/Codeberg/pages-server/issues/59
Sign in to join this conversation.
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date

No due date set.

Dependencies

No dependencies set.

Reference: SocialCoding/website#2
Loading…
There is no content yet.