ci: pass secrets to reusable workflow [skip test]
This commit is contained in:
9
.github/scripts/files/examples.yml
vendored
9
.github/scripts/files/examples.yml
vendored
@@ -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:
|
||||||
|
|
||||||
# ======================================================================================
|
# ======================================================================================
|
||||||
|
|||||||
8
.github/workflows/ci.yml
vendored
8
.github/workflows/ci.yml
vendored
@@ -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:
|
||||||
|
|||||||
Reference in New Issue
Block a user