Skip to content

Build and deploy the application to Koyeb #182

Build and deploy the application to Koyeb

Build and deploy the application to Koyeb #182

Workflow file for this run

name: Build and deploy the application to Koyeb
on:
schedule:
- cron: '55 7 * * *'
push:
branches:
- '*'
jobs:
deploy:
concurrency:
group: "${{ github.ref_name }}"
cancel-in-progress: true
runs-on: ubuntu-latest
steps:
- name: Install and configure the Koyeb CLI
uses: koyeb-community/install-koyeb-cli@v2
with:
api_token: "${{ secrets.KOYEB_EXAMPLES_APPS_TOKEN }}"
- name: Build and deploy the application
uses: koyeb/action-git-deploy@v1
with:
app-name: expressjs-${{ github.ref_name }}
service-ports: "3000:http"
service-routes: "/:3000"
git-run-command: "node app.js"