Skip to content

Commit a90bfc1

Browse files
committed
final updates on release
1 parent dfb18a1 commit a90bfc1

File tree

1 file changed

+27
-1
lines changed

1 file changed

+27
-1
lines changed

.github/workflows/release.yml

Lines changed: 27 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,8 @@ jobs:
5858

5959
- name: Build ${{ env.MODULE_ID }}
6060
run: |
61+
npm install -g markdownlint-cli
62+
markdownlint changelog.md --fix
6163
box install commandbox-docbox
6264
box task run taskfile=build/Build target=run :version=${{ env.VERSION }} :projectName=${{ env.MODULE_ID }} :buildID=${{ github.run_number }} :branch=${{ env.BRANCH }}
6365
@@ -87,9 +89,33 @@ jobs:
8789
.artifacts/**/*
8890
changelog.md
8991
92+
- name: Upload Binaries to S3
93+
uses: jakejarvis/s3-sync-action@master
94+
with:
95+
args: --acl public-read
96+
env:
97+
AWS_S3_BUCKET: "downloads.ortussolutions.com"
98+
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY }}
99+
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_ACCESS_SECRET }}
100+
SOURCE_DIR: ".artifacts/${{ env.MODULE_ID }}"
101+
DEST_DIR: "ortussolutions/coldbox-modules/${{ env.MODULE_ID }}"
102+
103+
- name: Upload API Docs to S3
104+
uses: jakejarvis/s3-sync-action@master
105+
with:
106+
args: --acl public-read
107+
env:
108+
AWS_S3_BUCKET: "apidocs.ortussolutions.com"
109+
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY }}
110+
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_ACCESS_SECRET }}
111+
SOURCE_DIR: ".tmp/apidocs"
112+
DEST_DIR: "coldbox-modules/${{ env.MODULE_ID }}/${{ env.VERSION }}"
113+
90114
- name: Publish To ForgeBox
91115
run: |
92-
cd .tmp/${{ env.MODULE_ID }} && box forgebox publish --force
116+
cd .tmp/${{ env.MODULE_ID }}
117+
cat box.json
118+
box forgebox publish --force
93119
94120
- name: Create Github Release
95121
uses: taiki-e/[email protected]

0 commit comments

Comments
 (0)