exile.watch docs
  • Introduction
  • The Maven - exile.watch context
  • Projects
    • hideout
    • crucible
      • Contributing
    • writ
      • Contributing
    • splinters
      • Contributing
      • @exile-watch/vite-config
      • @exile-watch/biome-config
      • @exile-watch/typescript-config
      • @exile-watch/unit-testing-config
      • @exile-watch/lefthook-config
    • nucleus
      • Contributing (data)
        • Encounter token breakdown
      • Contributing (scripts)
        • Scripts definition
      • @exile-watch/encounter-data
      • @exile-watch/seo
    • malachai
      • Contributing
      • snap gyazo thumbnail
    • doryani
      • Contributing
      • Actions
        • Authenticate to GitHub Package Registry
        • Install npm dependencies
        • Code quality assurance
        • Deploy webapp
        • Publish package
        • Preview publish package
        • Preview deploy webapp
  • voidstone
    • Contributing
  • Development
    • Commit message guidelines
    • Prerequisites
    • Generating GitHub PAT
    • .npmrc file
  • Architecture
    • Dependencies
    • Tech stack
    • Adoption chart
    • GHA workflows web
  • Legal
    • License - FSL, Apache 2.0
    • Non-Affiliation Notice
    • Code of Conduct
    • Privacy Policy
Powered by GitBook
On this page

Was this helpful?

  1. Projects
  2. doryani
  3. Actions

Deploy webapp

Action designed to automate the deployment of web applications to Cloudflare Pages

PreviousCode quality assuranceNextPublish package

Last updated 1 month ago

Was this helpful?

This page covers actions

Usage

In .github/workflows/deploy-webapp.yml paste following snippet:

name: "Deploy: @exile-watch / doryani"

on:
  workflow_dispatch:

jobs:
  deploy-webapp:
    runs-on: ubuntu-latest
    steps:
      - name: Deploy Crucible to Cloudflare Pages
        uses: exile-watch/doryani/deploy-webapp@main
        with:
          CLOUDFLARE_API_TOKEN: ${{ secrets.CLOUDFLARE_API_TOKEN }}
          CLOUDFLARE_ACCOUNT_ID: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
          PROJECT_NAME: "project_name"
          ENV: "production"
          GH_TOKEN: ${{ secrets.GH_TOKEN }}
deploy-webapp*
exile.watch logo