add ASSETS_* secrets as inputs #530
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Deploy Staging | ||
on: | ||
push: | ||
branches: | ||
- migration-ionos | ||
jobs: | ||
setup_env: | ||
uses: ./.github/workflows/setup-env.yml | ||
with: | ||
ENVIRONMENT: staging | ||
TILES_URL: staging-tiles.radverkehrsatlas.de | ||
CACHELESS_URL: staging-cacheless.radverkehrsatlas.de | ||
NEXT_PUBLIC_APP_ORIGIN: https://staging.radverkehrsatlas.de | ||
NEXT_PUBLIC_APP_ENV: staging | ||
NEXT_PUBLIC_OSM_API_URL: https://master.apis.dev.openstreetmap.org/api/0.6 | ||
APP_URL: staging.radverkehrsatlas.de | ||
secrets: inherit | ||
restart_services: | ||
uses: ./.github/workflows/restart-services.yml | ||
needs: setup_env | ||
with: | ||
ENVIRONMENT: staging | ||
secrets: inherit | ||
call-deploy-app: | ||
needs: restart_services | ||
uses: ./.github/workflows/deploy-app-ionos.yml | ||
with: | ||
ENVIRONMENT: staging | ||
APP_ORIGIN: http://staging.trassenscout.de | ||
NEXT_PUBLIC_APP_ORIGIN: http://staging.trassenscout.de | ||
NEXT_PUBLIC_APP_ENV: staging | ||
S3_UPLOAD_BUCKET: trassenscout | ||
S3_UPLOAD_REGION: eu-central-1 | ||
S3_UPLOAD_ROOTFOLDER: upload-staging | ||
ASSETS_BUCKET_HOST: ${{ secrets.ASSETS_BUCKET_HOST }} | ||
Check failure on line 35 in .github/workflows/deploy-app-staging.yml GitHub Actions / Deploy StagingInvalid workflow file
|
||
ASSETS_BUCKET_PATH: ${{ secrets.ASSETS_BUCKET_PATH }} | ||
secrets: | ||
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }} | ||
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }} | ||
DATABASE_URL: ${{ secrets.DATABASE_URL }} | ||
SESSION_SECRET_KEY: ${{ secrets.SESSION_SECRET_KEY}} | ||
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 }} |