Skip to content

Merge pull request #38 from Student-Labs-2023/feature/profile #76

Merge pull request #38 from Student-Labs-2023/feature/profile

Merge pull request #38 from Student-Labs-2023/feature/profile #76

Workflow file for this run

name: "Deploy application"
on:
push:
branches:
- "main"
- "develop"
workflow_dispatch: ~
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: "Checkout the repo"
uses: actions/checkout@v3
- name: "Install node.js"
uses: actions/setup-node@v3
with:
node-version: ${{ env.NODE_VERSION }}
- name: "Build an application"
run: make build
- name: "Deploy application on Cloudflare Pages"
uses: cloudflare/pages-action@v1
with:
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
projectName: "network-class"
directory: ./dist
wranglerVersion: "3"