Skip to content

Commit

Permalink
chore(ci): automate app deploys (#33)
Browse files Browse the repository at this point in the history
  • Loading branch information
mapra99 committed Dec 21, 2022
1 parent af8934b commit 8db9326
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: 🚀 Release
on:
release:
types: [created]

permissions:
actions: write
contents: read

jobs:
deploy:
name: 🚀 Deploy
runs-on: ubuntu-latest

steps:
- name: 🛑 Cancel Previous Runs
uses: styfle/cancel-workflow-action@0.11.0

- name: ⬇️ Checkout repo
uses: actions/checkout@v3

- name: 🚀 Deploy Staging
uses: superfly/flyctl-actions@1.3
with:
args: "deploy --config fly.toml"
env:
FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }}

0 comments on commit 8db9326

Please sign in to comment.