mirror of https://github.com/buster-so/buster.git
get rid of aws bc no need
This commit is contained in:
parent
faf64df107
commit
04bc32cc6f
|
@ -47,15 +47,9 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
- name: Configure AWS Credentials
|
- name: Generate self-signed certificate
|
||||||
uses: aws-actions/configure-aws-credentials@v4
|
|
||||||
with:
|
|
||||||
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
|
|
||||||
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
|
|
||||||
aws-region: us-east-1
|
|
||||||
- name: Download SSL certificate from S3
|
|
||||||
run: |
|
run: |
|
||||||
aws s3 cp ${{ secrets.CERT_S3_URL }} ./api/cert.pem
|
openssl req -x509 -newkey rsa:4096 -keyout ./api/key.pem -out ./api/cert.pem -days 365 -nodes -subj "/CN=localhost"
|
||||||
- name: Set Github tag
|
- name: Set Github tag
|
||||||
id: vars
|
id: vars
|
||||||
run: echo "sha_short=$(git rev-parse --short HEAD)" >> $GITHUB_OUTPUT
|
run: echo "sha_short=$(git rev-parse --short HEAD)" >> $GITHUB_OUTPUT
|
||||||
|
|
Loading…
Reference in New Issue