Skip to content

update team lead 101 landing #53

update team lead 101 landing

update team lead 101 landing #53

on: [push]
jobs:
deploy:
runs-on: ubuntu-latest
permissions:
contents: read
deployments: write
name: Deploy to Cloudflare Pages
steps:
- name: Install zola CLI
uses: taiki-e/install-action@v2
with:
tool: [email protected]
- name: Checkout
uses: actions/checkout@v3
- name: Build static site
run: zola build
- name: Set Node.js version
uses: actions/setup-node@v3
with:
node-version: 18.14.1
corepack: true
- name: Install npm dependencies
run: npm install
working-directory: ./apps
- name: Build apps project
run: npm run build
working-directory: ./apps
env:
VITE_RPC_URL: ${{ secrets.RPC_URL }}
- name: Inject apps into the static site
run: mkdir -p ./public/apps && mv ./apps/dist ./public/apps/is-my-crypto-wallet-safe
- name: Publish
uses: cloudflare/pages-action@1
with:
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
projectName: dmitryshvetsov-com
directory: ./public
# Optional: Enable this if you want to have GitHub Deployments triggered
# gitHubToken: ${{ secrets.GITHUB_TOKEN }}