mirror of
https://codeberg.org/fediverse/fediparty.git
synced 2025-03-25 08:32:02 +00:00
Fix Woodpecker config (3)
This commit is contained in:
parent
fbf0e5a21b
commit
7daf77ceea
1 changed files with 3 additions and 3 deletions
|
@ -7,7 +7,6 @@ pipeline:
|
|||
- npm install gulp -g
|
||||
- npm install hexo-cli -g
|
||||
- test -e package.json && npm install
|
||||
# TODO: figure out why Gulp fails with: Local gulp not found in /woodpecker/src/codeberg.org/fediverse/fediparty/themes/starter
|
||||
- gulp build --cwd ./themes/starter
|
||||
- hexo generate
|
||||
- find -maxdepth 1 ! -name .git ! -name .domains ! -name public ! -name . -exec rm -rf {} \;
|
||||
|
@ -23,12 +22,13 @@ pipeline:
|
|||
image: alpine
|
||||
commands:
|
||||
- apk add git
|
||||
- git branch -a
|
||||
- git remote -v
|
||||
- ls -l
|
||||
# configure git
|
||||
- git checkout -b pages
|
||||
- ls -l
|
||||
- git config --global user.email "nonexistent@example.com"
|
||||
- git config --global user.name "Codeberg CI"
|
||||
- git remote set-url origin git@codeberg.org:fediverse/fediparty.git
|
||||
# deploy changes
|
||||
- git add -A
|
||||
- git commit -m "Woodpecker build ${CI_COMMIT_SHA}"
|
||||
|
|
Loading…
Add table
Reference in a new issue