Skip to content

Merge pull request #8 from JoinTheAlliance/updatePromptWithDocInfo #36

Merge pull request #8 from JoinTheAlliance/updatePromptWithDocInfo

Merge pull request #8 from JoinTheAlliance/updatePromptWithDocInfo #36

Workflow file for this run

on:
push:
branches:
- main
pull_request:
name: ci
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 18
- run: npm install
- run: npm run lint
release:
if: github.ref == 'refs/heads/main'
runs-on: ubuntu-latest
needs: [lint]
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 18
- run: npm install
- run: npm run deploy
env:
CF_API_TOKEN: ${{ secrets.CF_API_TOKEN }}
CF_ACCOUNT_ID: ${{ secrets.CF_ACCOUNT_ID }}