Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F85630947
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
View Options
diff --git a/.woodpecker/build-package.yaml b/.woodpecker/build-package.yaml
new file mode 100644
index 0000000000..af0bb98e34
--- /dev/null
+++ b/.woodpecker/build-package.yaml
@@ -0,0 +1,43 @@
+when:
+ - event: pull_request
+ evaluate: 'CI_COMMIT_SOURCE_BRANCH != "weblate" && not(CI_COMMIT_SOURCE_BRANCH startsWith "renovate/")'
+ - event: push
+ branch: ${CI_REPO_DEFAULT_BRANCH}
+ - event: manual
+ branch: ${CI_REPO_DEFAULT_BRANCH}
+
+depends_on:
+ - test
+ - test-e2e
+
+labels:
+ platform: linux/amd64
+ memory: 'high'
+
+steps:
+ build:
+ image: docker.io/node:20-alpine
+ commands:
+ - apk add --no-cache zip git
+ - yarn --frozen-lockfile
+ - yarn build
+ - if [ "${CI_PIPELINE_EVENT}" = "push" ] || [ "${CI_PIPELINE_EVENT}" = "manual" ]; then zip -9qr ${CI_REPO_DEFAULT_BRANCH}.zip dist/; fi
+
+ upload-artifacts:
+ image: docker.io/woodpeckercommunity/plugin-gitea-package:0.5.0
+ when:
+ - event: push
+ branch: ${CI_REPO_DEFAULT_BRANCH}
+ - event: manual
+ branch: ${CI_REPO_DEFAULT_BRANCH}
+ settings:
+ user:
+ from_secret: pleroma-ci-user
+ password:
+ from_secret: pleroma-ci-password
+ update: true
+ owner: 'pleroma'
+ package_name: 'pleroma-fe-builds'
+ package_version: ${CI_REPO_DEFAULT_BRANCH}
+ file_source: ./${CI_REPO_DEFAULT_BRANCH}.zip
+ file_name: latest.zip
File Metadata
Details
Attached
Mime Type
text/x-diff
Expires
Mon, Aug 10, 3:35 AM (1 d, 19 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1724864
Default Alt Text
(1 KB)
Attached To
Mode
rPUFE pleroma-fe-upstream
Attached
Detach File
Event Timeline
Log In to Comment