Skip to content

Commit

Permalink
Merge pull request #2 from philspokas/dev-update-workflows
Browse files Browse the repository at this point in the history
Dev update workflows
  • Loading branch information
philspokas authored Oct 24, 2023
2 parents de7d886 + cdbc82e commit 3f081d2
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Azure Static Web Apps CI/CD
name: JokeUI396 CI/CD

on:
push:
Expand Down
36 changes: 36 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: Deployment

on:
push:
branches:
- main
workflow_dispatch:

jobs:

deploy-dev:
runs-on: ubuntu-latest
environment: dev
steps:
- run: echo "deploy to prod"
name: deploy
# ...deployment-specific steps

deploy-test:
runs-on: ubuntu-latest
environment: test
depends-on: dev
steps:
- run: echo "deploy to prod"
name: deploy
# ...deployment-specific steps

deploy-prod:
runs-on: ubuntu-latest
environment: prod
depends-on: test
steps:
- run: echo "deploy to prod"
name: deploy
# ...deployment-specific steps

0 comments on commit 3f081d2

Please sign in to comment.