From cfc9ba9ed7c45030330ad91ea156f5f9c52bd783 Mon Sep 17 00:00:00 2001 From: Thomas Schmahl Date: Wed, 21 Aug 2024 19:42:02 +0200 Subject: [PATCH] fix: on branches --- .github/workflows/deploy.yaml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .github/workflows/deploy.yaml diff --git a/.github/workflows/deploy.yaml b/.github/workflows/deploy.yaml new file mode 100644 index 0000000..8d41d36 --- /dev/null +++ b/.github/workflows/deploy.yaml @@ -0,0 +1,21 @@ +name: deploy website +on: + push: + branches-ignore: + - main +jobs: + deploy: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + # your build commands + # - run: | + # ng build --prod + - uses: amondnet/vercel-action@v25 #deploy + with: + vercel-token: ${{ secrets.VERCEL_TOKEN }} # Required + github-token: ${{ secrets.GITHUB_TOKEN }} #Optional + vercel-args: '--prod' #Optional + vercel-org-id: ${{ secrets.ORG_ID}} #Required + vercel-project-id: ${{ secrets.PROJECT_ID}} #Required + working-directory: ./sub-directory \ No newline at end of file