Skip to content

Commit

Permalink
build: Deploy to prod when release is created
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanwi committed Feb 9, 2024
1 parent d046c1b commit aa6364d
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
version: 2
updates:
- package-ecosystem: "npm"
directory: "/"
schedule:
interval: "weekly"
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "weekly"
18 changes: 18 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: Release Deploy

on:
release:
types: [published]

jobs:
deploy:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4

- name: DigitalOcean App Platform deployment
uses: digitalocean/[email protected]
with:
app_name: ${{ secrets.PROD_APP_NAME }}
token: ${{ secrets.DIGITALOCEAN_ACCESS_TOKEN }}

0 comments on commit aa6364d

Please sign in to comment.