Skip to content

Commit

Permalink
ci: add deploy workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Sekhmet committed Feb 12, 2024
1 parent 09da93b commit 26eb876
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Deploy to DigitalOcean

on:
push:
branches:
- master

jobs:
deploy_mana_prod:
name: Deploy mana to production
environment: mana_prod
concurrency:
group: mana_prod
cancel-in-progress: true
runs-on: ubuntu-latest
steps:
- name: Install doctl
uses: digitalocean/action-doctl@v2
with:
token: ${{ secrets.DIGITALOCEAN_ACCESS_TOKEN }}
- name: Deploy
run: doctl apps create-deployment --app-id ${{ secrets.MANA_APP_ID }}

0 comments on commit 26eb876

Please sign in to comment.