Skip to content

Commit

Permalink
Reduced release action to most minimal needed (had redundant default …
Browse files Browse the repository at this point in the history
…features)
  • Loading branch information
TrimVis committed Jun 18, 2024
1 parent ec37632 commit 0f2644e
Showing 1 changed file with 1 addition and 22 deletions.
23 changes: 1 addition & 22 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
@@ -1,34 +1,13 @@
name: Release and Deploy
name: Deploy Resources after Release

on:
release:
types: [created]

jobs:
update_release:
name: Attach Files to Release and Update Description
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2

- name: Zip repository contents
run: zip -r release.zip .

- name: Upload release asset
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ github.event.release.upload_url }}
asset_path: ./release.zip
asset_name: release.zip
asset_content_type: application/zip

build_and_push_docker:
name: Build and Push Docker Image
runs-on: ubuntu-latest
needs: update_release
steps:
- name: Checkout code
uses: actions/checkout@v2
Expand Down

0 comments on commit 0f2644e

Please sign in to comment.