Skip to content

Commit

Permalink
Publish on release created
Browse files Browse the repository at this point in the history
  • Loading branch information
RafaelLyra8 committed Oct 2, 2023
1 parent c2d0bc4 commit 54d6da4
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
name: Archiver Viewer CD

on:
pull_request:
branches:
- master
release:
types: [created]

jobs:
deploy:
Expand All @@ -22,8 +21,8 @@ jobs:
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

# - name: Write deploy tag
# run: echo "VERSION=${GITHUB_REF_NAME#v}" > .env
- name: Write deploy tag
run: echo "VERSION=${GITHUB_REF_NAME#v}" > .env

- name: Build Docker Compose 🏗️
run: docker-compose build
Expand Down

0 comments on commit 54d6da4

Please sign in to comment.