From df862da6b2774982eb2e83495d48da5c807d84fe Mon Sep 17 00:00:00 2001 From: C4 Patino Date: Wed, 21 Feb 2024 22:46:48 -0600 Subject: [PATCH] Remove release-drafter.yml and build-deploy.yml --- .github/release-drafter.yml | 31 ------------- .github/workflows/build-deploy.yml | 71 ------------------------------ 2 files changed, 102 deletions(-) delete mode 100644 .github/release-drafter.yml delete mode 100644 .github/workflows/build-deploy.yml diff --git a/.github/release-drafter.yml b/.github/release-drafter.yml deleted file mode 100644 index b5ddc3a..0000000 --- a/.github/release-drafter.yml +++ /dev/null @@ -1,31 +0,0 @@ -name-template: 'v$RESOLVED_VERSION' -tag-template: 'v$RESOLVED_VERSION' -categories: - - title: 'Features' - labels: - - 'feature' - - 'enhancement' - - title: 'Bug Fixes' - labels: - - 'fix' - - 'bugfix' - - 'bug' - - title: 'Maintenance' - label: 'chore' -change-template: '- $TITLE @$AUTHOR (#$NUMBER)' -change-title-escapes: '\<*_&#@' # You can add # and @ to disable mentions, and add ` to disable code blocks. -version-resolver: - major: - labels: - - 'major' - minor: - labels: - - 'minor' - patch: - labels: - - 'patch' - default: patch -template: | - # Changes - - $CHANGES diff --git a/.github/workflows/build-deploy.yml b/.github/workflows/build-deploy.yml deleted file mode 100644 index c8bf1c8..0000000 --- a/.github/workflows/build-deploy.yml +++ /dev/null @@ -1,71 +0,0 @@ -name: Docker Build and Push - -on: - push: - branches: - - main - tags: - - v* - -jobs: - test: - runs-on: ubuntu-latest - steps: - - name: Checkout code - uses: actions/checkout@v3 - - name: Use Node.js 16.x - uses: actions/setup-node@v2 - with: - node-version: 16.x - - name: Install dependencies - run: npm ci - - name: Test build - run: npm run test - - build-and-push: - runs-on: ubuntu-latest - needs: test - - steps: - - name: Checkout code - uses: actions/checkout@v3 - - name: Write .env to build - env: - DOTENV: '${{ secrets.DOTENV }}' - run: echo "$DOTENV" >> ./client/.env - - name: Build & push client image - uses: mr-smithers-excellent/docker-build-push@v6 - with: - image: c4thebomb/know-it-all-client - registry: docker.io - addLatest: true - multiPlatform: true - platform: linux/amd64,linux/arm64/v8 - directory: ./client - dockerfile: ./client/Dockerfile - username: ${{ secrets.DOCKER_USERNAME }} - password: ${{ secrets.DOCKER_PASSWORD }} - - name: Build & push server image - uses: mr-smithers-excellent/docker-build-push@v6 - with: - image: c4thebomb/know-it-all-server - registry: docker.io - addLatest: true - multiPlatform: true - platform: linux/amd64,linux/arm64/v8 - directory: ./server - dockerfile: ./server/Dockerfile - username: ${{ secrets.DOCKER_USERNAME }} - password: ${{ secrets.DOCKER_PASSWORD }} - - draft: - runs-on: ubuntu-latest - needs: test - - steps: - - uses: actions/checkout@v3 - - name: Draft release - uses: release-drafter/release-drafter@v5 - id: release-draft - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}