Skip to content

Commit

Permalink
Update test-and-deploy.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
tiwarishubham635 authored Dec 8, 2023
1 parent bae9c65 commit 8b9ed5f
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions .github/workflows/test-and-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,19 +46,16 @@ jobs:
- uses: actions/checkout@v2
- run: make install
- name: import certificate
if: ${{ github.repository_owner == 'sendgrid' }}
run: |
New-Item -ItemType directory -Path certificate
Set-Content -Path certificate\certificate.txt -Value '${{ secrets.CODE_SIGNING_CERTIFICATE }}'
Get-Content -Path certificate\certificate.txt
Set-Content -Path certificate\certificate.txt -Value '${{ secrets.CODE_SIGNING_CERTIFICATE }}'
# certutil -decode certificate\certificate.txt certificate\certificate.pfx
- name: Upload Artifact
uses: actions/upload-artifact@v3
with:
name: certificate.pfx
path: certificate\certificate.pfx
name: certificate.txt
path: certificate\certificate.txt
retention-days: 1

deploy:
Expand Down

0 comments on commit 8b9ed5f

Please sign in to comment.