Skip to content

Add initial configuration settings for zshrc file. #6

Add initial configuration settings for zshrc file.

Add initial configuration settings for zshrc file. #6

name: Deploy to Vercel and Use Sepolia Private Key
on:
push:
branches:
- main
- feature/**
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Cache node modules
uses: actions/cache@v2
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
# Custom step for utilizing Sepolia Private Key
# Assuming you want to do something with the Sepolia Private Key before the Vercel deployment
- name: Use Sepolia Private Key
run: |
echo "Deploying to Sepolia network with private key..."
# Insert commands here that utilize the SEPOLIA_PRIVATE_KEY for deployment or other purposes
env:
SEPOLIA_PRIVATE_KEY: ${{ secrets.SEPOLIA_PRIVATE_KEY }}
- name: Vercel Action
uses: amondnet/vercel-action@v25.1.1 # Ensure this points to the latest or a specific version that works for you
with:
vercel-token: ${{ secrets.VERCEL_TOKEN }}
team-id: ${{ secrets.TEAM_ID_VERCEL }}
project-id: ${{ secrets.PROJECT_ID_VERCEL }}
vercel-args: ${{ github.ref == 'refs/heads/main' && '--prod' || '' }}
- name: Notify team of deployment
if: always() # This ensures the step runs whether the previous step succeeded or failed
uses: 8398a7/action-slack@v3
with:
status: ${{ job.status }}
env:
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}