Skip to content

Update crontab to fetch poem.json from the main branch #11

Update crontab to fetch poem.json from the main branch

Update crontab to fetch poem.json from the main branch #11

name: Update App
on:
workflow_dispatch:
push:
branches:
- main
permissions:
contents: read
jobs:
deploy-app:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Deploy the app
uses: digitalocean/app_action/deploy@v2
# env:
# SOME_SECRET_FROM_REPOSITORY: ${{ secrets.SOME_SECRET_FROM_REPOSITORY }}
with:
token: ${{ secrets.DIGITALOCEAN_ACCESS_TOKEN }}
project_id: ${{ secrets.DIGITALOCEAN_PROJECT_ID }}
print_build_logs: true
print_deploy_logs: true
deploy_pr_preview: false