Skip to content

Commit

Permalink
Deploy to production task
Browse files Browse the repository at this point in the history
  • Loading branch information
vycius committed Jan 30, 2024
1 parent 307894b commit 0d7d1be
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/deploy-development.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ on:
jobs:
deploy-development:
name: Deploy development
environment: development
runs-on: ubuntu-latest
timeout-minutes: 10
permissions:
Expand Down
25 changes: 25 additions & 0 deletions .github/workflows/deploy-production.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Deploy to Production

on:
push:
branches: [ main ]
workflow_dispatch:

jobs:
deploy-production:
name: Deploy production
environment: production
runs-on: ubuntu-latest
timeout-minutes: 10
permissions:
contents: read
packages: write
steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Build & tag docker image
uses: AplinkosMinisterija/reusable-workflows/.github/actions/docker-build-tag-push@main
with:
environment: production
push: true

0 comments on commit 0d7d1be

Please sign in to comment.