Skip to content

Commit

Permalink
add missing secrets
Browse files Browse the repository at this point in the history
  • Loading branch information
ohrie committed Oct 29, 2024
1 parent ef11b08 commit e8bb9c6
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 5 deletions.
22 changes: 17 additions & 5 deletions .github/workflows/deploy-app-ionos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,24 @@ on:
APP_ORIGIN:
required: true
type: string
ASSETS_BUCKET_HOST:
CONFIG_CHANGED:
required: true
type: boolean
secrets:
ASSETS_BUCKET_HOST:
required: true
ASSETS_BUCKET_PATH:
required: true
type: boolean
AWS_ACCESS_KEY_ID:
required: true
AWS_SECRET_ACCESS_KEY:
required: true
SSH_HOST:
required: true
SSH_USERNAME:
required: true
SSH_PASSWORD:
required: true

jobs:
diff_app:
Expand Down Expand Up @@ -49,7 +61,7 @@ jobs:
with:
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
aws-region: ${{ secrets.AWS_REGION }}
aws-region: eu-central-1
- name: Setup buildx
uses: docker/setup-buildx-action@v3

Expand Down Expand Up @@ -87,8 +99,8 @@ jobs:
public.ecr.aws/n0p8j4k5/trassenscout/nginx:${{ github.sha }}
public.ecr.aws/n0p8j4k5/trassenscout/nginx:${{ inputs.ENVIRONMENT }}-latest
build-args: |
ASSETS_BUCKET_HOST=${{ inputs.ASSETS_BUCKET_HOST }}
ASSETS_BUCKET_PATH=${{ inputs.ASSETS_BUCKET_PATH }}
ASSETS_BUCKET_HOST=${{ secrets.ASSETS_BUCKET_HOST }}
ASSETS_BUCKET_PATH=${{ secrets.ASSETS_BUCKET_PATH }}
- name: Push image
run: |
Expand Down
16 changes: 16 additions & 0 deletions .github/workflows/deploy-app-staging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,21 @@ jobs:
S3_UPLOAD_BUCKET: trassenscout
S3_UPLOAD_REGION: eu-central-1
S3_UPLOAD_ROOTFOLDER: upload-staging
secrets:
ASSETS_BUCKET_HOST: ${{ secrets.ASSETS_BUCKET_HOST }}
ASSETS_BUCKET_PATH: ${{ secrets.ASSETS_BUCKET_PATH }}
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
AWS_REGION: ${{ secrets.AWS_REGION }}
DATABASE_URL: ${{ secrets.DATABASE_URL }}
MAILJET_APIKEY_PUBLIC: ${{ secrets.MAILJET_APIKEY_PUBLIC }}
MAILJET_APIKEY_PRIVATE: ${{ secrets.MAILJET_APIKEY_PRIVATE }}
NGINX_HTPASSWD: ${{ secrets.NGINX_HTPASSWD }}
S3_UPLOAD_KEY: ${{ secrets.S3_UPLOAD_KEY }}
S3_UPLOAD_SECRET: ${{ secrets.S3_UPLOAD_SECRET }}
FELT_TOKEN: ${{ secrets.FELT_TOKEN }}
ADMIN_EMAIL: ${{ secrets.ADMIN_EMAIL }}
TS_API_KEY: ${{ secrets.TS_API_KEY }}
SSH_HOST: ${{ secrets.SSH_HOST }}
SSH_USERNAME: ${{ secrets.SSH_USERNAME }}
SSH_PASSWORD: ${{ secrets.SSH_PASSWORD }}

0 comments on commit e8bb9c6

Please sign in to comment.