Skip to content

Commit

Permalink
Revert envfile updates (#494)
Browse files Browse the repository at this point in the history
  • Loading branch information
austinlparker authored Oct 20, 2022
1 parent 22833ab commit 618d24c
Showing 1 changed file with 0 additions and 26 deletions.
26 changes: 0 additions & 26 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,33 +5,7 @@ on:
types: [published]

jobs:
update_env:
runs-on: ubuntu-latest
permissions:
contents: write
packages: write

env:
RELEASE_VERSION: "${{ github.event.release.tag_name }}"

steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0

- name: Update .env
run: sed -i "s/IMAGE_VERSION=.*/IMAGE_VERSION=${RELEASE_VERSION}/" .env

- name: Commit updated .env file
uses: test-room-7/action-update-file@v1
with:
file-path: .env
commit-msg: "Update .env file with release version"
branch: main
github-token: ${{ secrets.GITHUB_TOKEN }}

build_and_push_images:
needs: update_env
runs-on: ubuntu-latest
permissions:
contents: read
Expand Down

0 comments on commit 618d24c

Please sign in to comment.