chore: update ci

This commit is contained in:
Mythie
2023-12-08 09:29:47 +11:00
parent 935601ad16
commit 1831084970
2 changed files with 27 additions and 0 deletions

26
.github/workflows/deploy.yml vendored Normal file
View File

@ -0,0 +1,26 @@
name: Deploy to Production
on:
push:
tags:
- '*'
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
ref: main
fetch-depth: 0
- name: Push to release branch
run: |
git config user.name "GitHub Actions"
git config user.email "actions@github.com"
git checkout release || git checkout -b release
git merge --ff-only main
git push origin release

View File

@ -6,6 +6,7 @@ on:
branches: [ "main" ]
jobs:
e2e_tests:
name: "E2E Tests"
timeout-minutes: 60
runs-on: ubuntu-latest
steps: