ci: pass secrets to reusable workflow [skip test]

This commit is contained in:
lowlighter
2022-01-15 23:45:17 -05:00
parent fea8a3f30a
commit 116c7ba359
2 changed files with 16 additions and 1 deletions

View File

@@ -5,7 +5,14 @@ on:
- cron: "0 8 1/2 * *" - cron: "0 8 1/2 * *"
workflow_dispatch: workflow_dispatch:
workflow_call: workflow_call:
secrets:
METRICS_TOKEN:
METRICS_TOKEN_WITH_SCOPES:
PAGESPEED_TOKEN:
SPOTIFY_TOKENS:
STOCK_TOKEN:
TWITTER_TOKEN:
WAKATIME_TOKEN:
jobs: jobs:
# ====================================================================================== # ======================================================================================

View File

@@ -140,6 +140,14 @@ jobs:
name: Publish examples name: Publish examples
needs: [ docker-master ] needs: [ docker-master ]
uses: lowlighter/metrics/.github/workflows/examples.yml@master uses: lowlighter/metrics/.github/workflows/examples.yml@master
secrets:
METRICS_TOKEN: ${{ secrets.METRICS_TOKEN }}
#METRICS_TOKEN_WITH_SCOPES: ${{ secrets.METRICS_TOKEN_WITH_SCOPES }}
#PAGESPEED_TOKEN: ${{ secrets.PAGESPEED_TOKEN }}
#SPOTIFY_TOKENS: ${{ secrets.SPOTIFY_TOKENS }}
#STOCK_TOKEN: ${{ secrets.STOCK_TOKEN }}
#TWITTER_TOKEN: ${{ secrets.TWITTER_TOKEN }}
#WAKATIME_TOKEN: ${{ secrets.WAKATIME_TOKEN }}
# Build docker image from master and publish it to GitHub registry with release tag # Build docker image from master and publish it to GitHub registry with release tag
docker-release: docker-release: