Skip to content

Commit

Permalink
fix: listing web's nginx conf
Browse files Browse the repository at this point in the history
  • Loading branch information
aacevski committed Jan 25, 2025
1 parent fa736c5 commit 9ae5b32
Showing 1 changed file with 5 additions and 44 deletions.
49 changes: 5 additions & 44 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ on:
jobs:
build-and-push-docker:
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v3
Expand All @@ -22,6 +23,9 @@ jobs:
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2

- name: List files in apps/web
run: ls -l apps/web

- name: Build and push web Docker image
uses: docker/build-push-action@v4
with:
Expand All @@ -38,47 +42,4 @@ jobs:
push: true
tags: |
ghcr.io/${{ github.repository_owner }}/api:latest
ghcr.io/${{ github.repository_owner }}/api:${{ github.sha }}
generate-changelog:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
with:
fetch-depth: 0

- name: Generate changelog with conventional commits
id: changelog
uses: conventional-changelog/action@v3
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
preset: conventionalcommits
output-file: CHANGELOG.md

- name: Commit changelog
run: |
git config --global user.name "GitHub Actions"
git config --global user.email "[email protected]"
git add CHANGELOG.md
git commit -m "chore: Update changelog"
git push
create-release:
runs-on: ubuntu-latest
needs: [build-and-push-docker, generate-changelog]
steps:
- name: Checkout repository
uses: actions/checkout@v3

- name: Create GitHub release
id: create-release
uses: actions/create-release@v1
with:
tag_name: v1.0.0-${{ github.sha }}
release_name: Release v1.0.0-${{ github.sha }}
body: ${{ steps.changelog.outputs.changelog }}
draft: false
prerelease: false
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
ghcr.io/${{ github.repository_owner }}/api:${{ github.sha }}

0 comments on commit 9ae5b32

Please sign in to comment.