Skip to content

Commit

Permalink
Merge pull request #855 from dxc-technology/fix-workflow
Browse files Browse the repository at this point in the history
Removed credentials on publish release workflow
  • Loading branch information
Jialecl authored Mar 30, 2023
2 parents c019888 + 7c35770 commit ec0d777
Showing 1 changed file with 0 additions and 18 deletions.
18 changes: 0 additions & 18 deletions .github/workflows/publish-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,16 +24,6 @@ jobs:
node-version: 14.x
registry-url: https://registry.npmjs.org/

- name: Configure AWS Credentials
uses: aws-actions/configure-aws-credentials@v1
with:
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
aws-region: us-west-2
role-to-assume: ${{ secrets.AWS_ROLE_SANDBOX }}
role-duration-seconds: 6000
role-skip-session-tagging: true

- name: Install app dependencies
run: cd . && npm install

Expand All @@ -49,9 +39,6 @@ jobs:
- name: Test library
run: cd ./projects/dxc-ngx-cdk && npm run test

- name: Build angular release cdk site
run: cd . && npm run build-release-cdk-site -- --baseHref=/tools/angular/${{steps.split.outputs._0}}/

- name: Publish RELEASE to npm
run: |
sed -i "s#\"version\": \"0.0.0\"#\"version\": \"${TAG_NAME}\"#" ./dist/dxc-ngx-cdk/package.json
Expand All @@ -60,8 +47,3 @@ jobs:
env:
NODE_AUTH_TOKEN: ${{ secrets.NODE_AUTH_TOKEN }}
TAG_NAME: ${{ github.event.release.tag_name }}

- name: Move RELEASE docs to S3
run: node scripts/release-docs.js $TAG_NAME
env:
TAG_NAME: ${{ github.event.release.tag_name }}

0 comments on commit ec0d777

Please sign in to comment.