From dc4993993871bef87835be836abbe88820ccfb87 Mon Sep 17 00:00:00 2001 From: t-takahashi Date: Sat, 6 Jul 2024 19:10:36 +0900 Subject: [PATCH] chore: Update GitHub Actions workflow to ignore README.md changes --- .github/workflows/go.yml | 5 ++++- release.sh | 10 ---------- 2 files changed, 4 insertions(+), 11 deletions(-) delete mode 100644 release.sh diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 071c0de..a82e9ef 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -2,7 +2,10 @@ # For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-go name: Go -on: [push] +on: + push: + paths-ignore: + - "README.md" jobs: diff --git a/release.sh b/release.sh deleted file mode 100644 index 19a9a19..0000000 --- a/release.sh +++ /dev/null @@ -1,10 +0,0 @@ -if [ $# != 1 ]; then - echo "Please specify the app version (X.X) as the argument." - echo "example: ./release.sh 1.0" - exit 1 -fi -docker build -t mos3:$1 . -docker tag mos3:$1 tttol/mos3:$1 -docker tag mos3:$1 tttol/mos3:latest -docker push tttol/mos3:$1 -docker push tttol/mos3:latest \ No newline at end of file