# update subgraph.yml using the contract deployment artifacts
$ yarn update:arbitrum-goerli
$ yarn codegen
$ yarn build
Get an API key from the thegraph.com, then authenticate.
$ yarn run graph auth --product hosted-service
yarn deploy:arbitrum-goerli
Go to the Deploy Subgraph Action and click the Run workflow button:
![image](https://private-user-images.githubusercontent.com/22213980/243796370-da39f584-baaf-42a2-8c6a-6544aee29420.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzg5MjYwMjIsIm5iZiI6MTczODkyNTcyMiwicGF0aCI6Ii8yMjIxMzk4MC8yNDM3OTYzNzAtZGEzOWY1ODQtYmFhZi00MmEyLThjNmEtNjU0NGFlZTI5NDIwLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMDclMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjA3VDEwNTUyMlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTczYmFiYWNkMzA1MjM1NTI5ZTMzYzg1ODUxNzY3NmE5ODM2ZTBjM2RkNzk1Y2Q5OTQ4NDIzM2E0YzE3YzM2ZTAmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.2gxQQXQbmLPgiBrXtAqPrf7JpslL9xGq1MvSlFfevWk)
Pick the appropriate network. There should be a corresponding yarn script in the form of deploy:<network>
on the master branch.