Use deploy-key instead of personal PAT

This commit is contained in:
Abdul Rabbani 2022-06-03 12:13:12 -04:00
parent c64df8903c
commit 90cf03509f
3 changed files with 4 additions and 4 deletions

View File

@ -33,4 +33,4 @@ jobs:
ipld-ethcl-db-ref: ${{ github.event.inputs.ipld-ethcl-db-ref }}
ssz-data-ref: ${{ github.event.inputs.ssz-data-ref }}
secrets:
GH_PAT: ${{secrets.GH_PAT}}
GHA_KEY: ${{secrets.GHA_KEY}}

View File

@ -10,7 +10,7 @@ jobs:
ipld-ethcl-db-ref: ${{ github.event.inputs.ipld-ethcl-db-ref }}
ssz-data-ref: ${{ github.event.inputs.ssz-data-ref }}
secrets:
GH_PAT: ${{secrets.GH_PAT}}
GHA_KEY: ${{secrets.GHA_KEY}}
build:
name: Run docker build
runs-on: ubuntu-latest

View File

@ -12,7 +12,7 @@ on:
required: false
type: string
secrets:
GH_PAT:
GHA_KEY:
required: true
env:
@ -41,7 +41,7 @@ jobs:
ref: ${{ env.ipld-ethcl-db-ref }}
repository: vulcanize/ipld-ethcl-db
path: "./ipld-ethcl-db/"
token: ${{ secrets.GH_PAT }}
ssh-key: ${{secrets.GHA_KEY}}
fetch-depth: 0
- name: Create config file