mirror of
https://github.com/gohugoio/hugoDocs.git
synced 2025-09-15 14:44:50 -04:00
content: Fix Codeberg deployment article
This commit is contained in:
parent
5e3d849b8c
commit
d1b2aad69e
@ -240,11 +240,11 @@ jobs:
|
||||
name: Generated files
|
||||
- name: Commit and push the website
|
||||
run: |
|
||||
git config user.email codeberg-ci
|
||||
&& git config user.name "Codeberg CI"
|
||||
&& git add -v .
|
||||
&& git commit -v --allow-empty --message "Codeberg build for ${GITHUB_SHA}"
|
||||
&& git push -v origin ${{ vars.TARGET_BRANCH }}
|
||||
git config user.email codeberg-ci && \
|
||||
git config user.name "Codeberg CI" && \
|
||||
git add -v . && \
|
||||
git commit -v --allow-empty --message "Codeberg build for ${GITHUB_SHA}" && \
|
||||
git push -v origin ${{ vars.TARGET_BRANCH }}
|
||||
```
|
||||
|
||||
Once you commit one of the two files to your website source repository, you should see your first automated build firing up pretty soon. You can also trigger it manually by navigating to the **Actions** section of your repository web page, choosing **hugo.yaml** on the left and clicking on **Run workflow**.
|
||||
|
Loading…
x
Reference in New Issue
Block a user