Skip to content

Commit

Permalink
Remove unneeded env secrets from ci file
Browse files Browse the repository at this point in the history
  • Loading branch information
harryttd committed Aug 24, 2023
1 parent f17f3c7 commit ba0f408
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 17 deletions.
12 changes: 5 additions & 7 deletions .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
fetch-depth: 1
submodules: true
token : ${{ secrets.ACCESS_TOKEN }}

- uses: actions/setup-node@v1
with:
node-version: 14.x
Expand All @@ -40,16 +40,14 @@ jobs:
uses: pulumi/[email protected]
with:
pulumi-version: 3.4.0

- run: npm install

- uses: pulumi/actions@v3
with:
command: preview
stack-name: tqtezos/teztnets/teztnets

env:
PULUMI_ACCESS_TOKEN: ${{ secrets.PULUMI_ACCESS_TOKEN }}
AWS_ACCOUNT_ID: ${{ secrets.AWS_ACCOUNT_ID }}
PRIVATE_OXHEAD_BAKING_KEY: ${{secrets.PRIVATE_OXHEAD_BAKING_KEY }}
FAUCET_SEED: ${{secrets.FAUCET_SEED }}
FAUCET_RECAPTCHA_SITE_KEY: ${{secrets.FAUCET_RECAPTCHA_SITE_KEY }}
FAUCET_RECAPTCHA_SECRET_KEY: ${{secrets.FAUCET_RECAPTCHA_SECRET_KEY }}

7 changes: 2 additions & 5 deletions .github/workflows/push-to-main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,15 +38,12 @@ jobs:
uses: pulumi/[email protected]
with:
pulumi-version: 3.4.0

- run: npm install

- uses: pulumi/actions@v3
with:
command: preview
stack-name: tqtezos/teztnets/teztnets
env:
PULUMI_ACCESS_TOKEN: ${{ secrets.PULUMI_ACCESS_TOKEN }}
AWS_ACCOUNT_ID: ${{ secrets.AWS_ACCOUNT_ID }}
PRIVATE_OXHEAD_BAKING_KEY: ${{secrets.PRIVATE_OXHEAD_BAKING_KEY }}
FAUCET_SEED: ${{secrets.FAUCET_SEED }}
FAUCET_RECAPTCHA_SITE_KEY: ${{secrets.FAUCET_RECAPTCHA_SITE_KEY }}
FAUCET_RECAPTCHA_SECRET_KEY: ${{secrets.FAUCET_RECAPTCHA_SECRET_KEY }}
5 changes: 0 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,11 +56,6 @@ jobs:
stack-name: tqtezos/teztnets/teztnets
env:
PULUMI_ACCESS_TOKEN: ${{ secrets.PULUMI_ACCESS_TOKEN }}
AWS_ACCOUNT_ID: ${{ secrets.AWS_ACCOUNT_ID }}
PRIVATE_OXHEAD_BAKING_KEY: ${{secrets.PRIVATE_OXHEAD_BAKING_KEY }}
FAUCET_SEED: ${{secrets.FAUCET_SEED }}
FAUCET_RECAPTCHA_SITE_KEY: ${{secrets.FAUCET_RECAPTCHA_SITE_KEY }}
FAUCET_RECAPTCHA_SECRET_KEY: ${{secrets.FAUCET_RECAPTCHA_SECRET_KEY }}

build:
needs: up
Expand Down

0 comments on commit ba0f408

Please sign in to comment.