diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 0000000..f5ec988 --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,9 @@ +name: build +on: + pull_request: + branches: "**" +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml new file mode 100644 index 0000000..bc084e6 --- /dev/null +++ b/.github/workflows/deploy.yml @@ -0,0 +1,13 @@ +name: deploy +on: + pull_request_target: + types: closed +permissions: + id-token: write + contents: read +jobs: + deploy: + if: github.event.pull_request.merged == true + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4