diff options
| author | Nikhil M Warrier <nikhilmw.dev@gmail.com> | 2026-03-14 12:29:37 +0530 |
|---|---|---|
| committer | Nikhil M Warrier <nikhilmw.dev@gmail.com> | 2026-03-14 12:29:37 +0530 |
| commit | d17de1c5bc58531a4d971f873f2577e5d1f92ffe (patch) | |
| tree | 27e6ecff043fc40824c1c2b96bbfe18caa0ffcf5 | |
| parent | ddb09436c0cda050ef0d3093599b01411903e903 (diff) | |
Fix typo
| -rw-r--r-- | .woodpecker/deploy.yaml | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/.woodpecker/deploy.yaml b/.woodpecker/deploy.yaml index 185bd87..04752e6 100644 --- a/.woodpecker/deploy.yaml +++ b/.woodpecker/deploy.yaml @@ -9,20 +9,20 @@ steps: - apk add --no-cache git - git config --global user.name "Woodpecker CI" - git config --global user.email "ci@foss.cet.ac.in" # Update this to your preferred email - + # 2. Clone the pages repo into a neighboring directory # Using the token for authentication - git clone -b pages https://$CODEBERG_TOKEN@codeberg.org/fosscet/pages.git ../pages - + # 3. Build the site - bun install - bun run build - + # 4. Clean old files in the pages repo (so deleted source files are removed from the live site) and copy new ones # We use 'find' to delete everything except the .git folder - find ../pages -mindepth 1 -maxdepth 1 ! -name '.git' -exec rm -rf {} + - - cp -a build/. ../pages/ - + - cp -a dist/. ../pages/ + # 5. Commit and push - cd ../pages - git add . |
