Skip to content

Commit

Permalink
Merge pull request #24 from rlabinc/main-2
Browse files Browse the repository at this point in the history
Revert back build-and-push.yaml
  • Loading branch information
origamiofficial committed Aug 21, 2023
2 parents edf4475 + 9517d42 commit 59d8d2f
Showing 1 changed file with 2 additions and 10 deletions.
12 changes: 2 additions & 10 deletions .github/workflows/build-and-push.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
name: Latest Build & Push
on:
push:
schedule:
- cron: '0 0 * * *'

Expand Down Expand Up @@ -31,17 +30,10 @@ jobs:
echo "Base image has been updated. Continuing with the build..."
echo "build_image=true" >> $GITHUB_OUTPUT
fi
-
name: Github push check
id: git_push_check
if: github.event_name == 'push'
run: |
echo "GitHub push detected. Continuing with the build..."
echo "build_image=true" >> $GITHUB_OUTPUT
job02:
name: Build and publish
needs: [job01]
if: needs.job01.outputs.build_new_image_schedule == 'true' || needs.job01.outputs.build_new_image_push == 'true'
if: needs.job01.outputs.build_new_image_schedule == 'true'
runs-on: ubuntu-latest
steps:
-
Expand Down Expand Up @@ -105,4 +97,4 @@ jobs:
git remote set-url origin https://${{ secrets.GITHUB_TOKEN }}@github.com/origamiofficial/docker-ngrok-plex.git
git add Base_Digest
git commit -m "Base Digest Updated"
git push
git push

0 comments on commit 59d8d2f

Please sign in to comment.