Skip to content

Commit

Permalink
Merge pull request #169 from postindustria-tech/secure-secrets
Browse files Browse the repository at this point in the history
Securely pass secrets to reusable workflows
  • Loading branch information
justadreamer authored Nov 23, 2023
2 parents 3b041b2 + dc2b92b commit b534d9d
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/nightly-pr-to-main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,7 @@ jobs:
repo-name: ${{ github.event.repository.name }}
secrets:
token: ${{ secrets.ACCESS_TOKEN }}
asset-keys: '{ "DeviceDetection": "${{ secrets.DEVICE_DETECTION_KEY }}", "DeviceDetectionUrl": "${{ secrets.DEVICE_DETECTION_URL }}", "NginxKey": "${{ secrets.NGINX_PLUS_KEY }}", "NginxCert": "${{ secrets.NGINX_PLUS_CERT }}" }'
DeviceDetection: ${{ secrets.DEVICE_DETECTION_KEY }}
DeviceDetectionUrl: ${{ secrets.DEVICE_DETECTION_URL }}
NginxKey: ${{ secrets.NGINX_PLUS_KEY }}
NginxCert: ${{ secrets.NGINX_PLUS_CERT }}
5 changes: 4 additions & 1 deletion .github/workflows/nightly-publish-main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,7 @@ jobs:
build-platform: ubuntu-latest
secrets:
token: ${{ secrets.ACCESS_TOKEN }}
asset-keys: '{ "DeviceDetection": "${{ secrets.DEVICE_DETECTION_KEY }}", "DeviceDetectionUrl": "${{ secrets.DEVICE_DETECTION_URL }}", "NginxKey": "${{ secrets.NGINX_PLUS_KEY }}", "NginxCert": "${{ secrets.NGINX_PLUS_CERT }}" }'
DeviceDetection: ${{ secrets.DEVICE_DETECTION_KEY }}
DeviceDetectionUrl: ${{ secrets.DEVICE_DETECTION_URL }}
NginxKey: ${{ secrets.NGINX_PLUS_KEY }}
NginxCert: ${{ secrets.NGINX_PLUS_CERT }}

0 comments on commit b534d9d

Please sign in to comment.