From 9ae5b3209d84529c7edc482f118826502327dfe9 Mon Sep 17 00:00:00 2001 From: Andrej Date: Sat, 25 Jan 2025 18:22:46 +0100 Subject: [PATCH] fix: listing web's nginx conf --- .github/workflows/release.yml | 49 ++++------------------------------- 1 file changed, 5 insertions(+), 44 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 340eb2d..75ec543 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -8,6 +8,7 @@ on: jobs: build-and-push-docker: runs-on: ubuntu-latest + steps: - name: Checkout repository uses: actions/checkout@v3 @@ -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: @@ -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 "actions@github.com" - 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 }} \ No newline at end of file + ghcr.io/${{ github.repository_owner }}/api:${{ github.sha }} \ No newline at end of file