Deploy Latest #5949
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: Deploy Latest | |
on: | |
schedule: | |
- cron: "0 */3 * * *" | |
workflow_dispatch: | |
jobs: | |
deploy: | |
name: Deploy | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout 🛎️ | |
uses: actions/checkout@v4 | |
- name: Install doctl 🌊 | |
uses: digitalocean/action-doctl@v2.5.1 | |
with: | |
token: ${{ secrets.DIGITALOCEAN_TOKEN }} | |
- name: Authenticate to DigitalOcean 🔐 | |
run: doctl registry login --expiry-seconds 600 | |
- name: Deploy 🚀 | |
run: doctl apps create-deployment ${{ secrets.DIGITALOCEAN_APP_ID }} |