Skip to content

Commit a46546f

Browse files
committed
feat: add deployment link to Jira (START-1)
[START-1](https://concord-consortium.atlassian.net/browse/START-1) Remove `environment` from `.github/workflows/ci.yml` and add `githubToken` and `deployRunUrl`. This will allow the new version of `s3-deploy-action` to create a GitHub Deployment and set its `log_url` property, which will allow Jira to add a deployment link to associated Jira issues.
1 parent 9a1676c commit a46546f

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,6 @@ jobs:
2525
needs:
2626
- build_test
2727
runs-on: ubuntu-latest
28-
environment:
29-
name: ${{ github.ref_type == 'branch' && 'branches' || 'versions' }}
30-
url: https://codap3.concord.org/branch/main/?di=https://models-resources.concord.org/codap-plugin-starter-project/${{ steps.s3-deploy.outputs.deployPath }}/index.html
3128
steps:
3229
- uses: actions/checkout@v4
3330
- uses: actions/setup-node@v4
@@ -40,6 +37,8 @@ jobs:
4037
prefix: codap-plugin-starter-project
4138
awsAccessKeyId: ${{ secrets.AWS_ACCESS_KEY_ID }}
4239
awsSecretAccessKey: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
40+
githubToken: ${{ secrets.GITHUB_TOKEN }}
41+
deployRunUrl: https://codap3.concord.org/branch/main/?di=https://models-resources.concord.org/codap-plugin-starter-project/__deployPath__/index.html
4342
# Parameters to GHActions have to be strings, so a regular yaml array cannot
4443
# be used. Instead the `|` turns the following lines into a string
4544
topBranches: |

0 commit comments

Comments
 (0)