This repository was archived by the owner on Apr 30, 2026. It is now read-only.
Deploy to Deno Deploy #256
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Deploy to Deno Deploy | |
| on: | |
| push: | |
| branches: [main, dev] | |
| pull_request: | |
| branches: [main, dev] | |
| workflow_dispatch: | |
| schedule: | |
| - cron: '10 17 * * *' | |
| jobs: | |
| deploy: | |
| name: Deploy | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 10 | |
| permissions: | |
| id-token: write | |
| contents: read | |
| steps: | |
| - name: Clone repository | |
| uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4 | |
| with: | |
| persist-credentials: false | |
| - name: Setup Deno environment | |
| uses: denoland/setup-deno@e95548e56dfa95d4e1a28d6f422fafe75c4c26fb # v2 | |
| with: | |
| deno-version: v2.x | |
| - name: Build site | |
| run: deno task build | |
| - name: Check folder contents | |
| run: | | |
| echo '====CHECK CONTENT===' | |
| pwd | |
| tree | |
| tree /home/runner/work/help.esolia.pro | |
| - name: Upload to Deno Deploy | |
| uses: denoland/deployctl@7bded90d0d09cd99bbfb513966146315db97618b # v1 | |
| with: | |
| project: help-esolia-pro | |
| import-map: './import_map.json' | |
| entrypoint: ./serve.ts | |
| root: ./ |