mousa / .github /workflows /deploy.yaml
mfoud444's picture
first commit
d31a6aa
raw
history blame contribute delete
No virus
689 Bytes
name: Build and deploy the application to Koyeb
on:
schedule:
- cron: '00 9 * * *'
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/koyeb-actions@v2
with:
api_token: "${{ secrets.KOYEB_EXAMPLES_APPS_TOKEN }}"
- name: Build and deploy the application
uses: koyeb/action-git-deploy@v1
with:
app-name: php-${{ github.ref_name }}
service-ports: "8000:http"
service-routes: "/:8000"
skip-cache: true