Update crontab to fetch poem.json from the main branch #11
This file contains 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: 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 |