From afd0ceac732571489a0a030c038c7e473871b9dd Mon Sep 17 00:00:00 2001 From: ZhgChgLi <33706588+zhgchgli0718@users.noreply.github.com> Date: Sun, 27 Oct 2024 00:00:36 +0800 Subject: [PATCH] Create build.yml --- .github/workflows/build.yml | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 .github/workflows/build.yml diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 0000000..55ddd51 --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,30 @@ +name: 'Automatic build' +on: + push: + branches: + - main + paths-ignore: + - .gitignore + - README.md + - LICENSE + workflow_dispatch: + +jobs: + continuous-delivery: + + runs-on: ubuntu-latest + + steps: + - name: Checkout + uses: actions/checkout@v2 + with: + fetch-depth: 0 + + - name: Setup Ruby + uses: ruby/setup-ruby@v1 + with: + ruby-version: 2.7 + bundler-cache: true + + - name: Deploy + run: bash deploy.sh