--- kind: pipeline name: build platform: os: linux arch: amd64 steps: - name: build image: klakegg/hugo:0.53-alpine commands: - hugo --theme geeklab - name: publish image: plugins/s3-sync settings: access_key: from_secret: s3_access_key bucket: thegeeklab delete: true endpoint: https://sp.rknet.org path_style: true secret_key: from_secret: s3_secret_access_key source: public/ strip_prefix: public/ target: /legacy when: ref: - refs/heads/master - refs/tags/** trigger: ref: - refs/heads/master - refs/tags/** - refs/pull/** --- kind: pipeline name: notifications platform: os: linux arch: amd64 steps: - name: matrix image: plugins/matrix settings: homeserver: from_secret: matrix_homeserver password: from_secret: matrix_password roomid: from_secret: matrix_roomid template: "Status: **{{ build.status }}**
Build: [{{ repo.Owner }}/{{ repo.Name }}]({{ build.link }}) ({{ build.branch }}) by {{ build.author }}
Message: {{ build.message }}" username: from_secret: matrix_username when: status: - success - failure trigger: ref: - refs/heads/master - refs/tags/** status: - success - failure depends_on: - build --- kind: signature hmac: 92f8b9b62812d356dd3fba974f853fc509784fa58cd47b9f6a36c1603a73fd5b ...