- #!/bin/sh
- set -exu
- (
- cd "$FEED_DIRECTORY"
- git checkout "$PROJECT_NAME" || git checkout -b "$PROJECT_NAME"
- cp "$BASE_DIRECTORY/$PROJECT_PRETTY_NAME.docset.tgz" .
- cp "$BASE_DIRECTORY/$PROJECT_PRETTY_NAME.xml" .
- git add --all
- git commit --message "Deployment"
- git push --force "https://$CODEBERG_GIT_USERNAME:$CODEBERG_GIT_PASSWORD@codeberg.org/$CI_REPO_OWNER/$CI_REPO_NAME.git" "$PROJECT_NAME"
- )
|