Skip to content

Commit

Permalink
ci(test): merge files
Browse files Browse the repository at this point in the history
  • Loading branch information
Zweihander-Main committed Sep 12, 2024
1 parent 03dca49 commit e7e63f9
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 30 deletions.
29 changes: 0 additions & 29 deletions .github/workflows/publish.yml

This file was deleted.

18 changes: 17 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
name: Run E2E tests on new code in master
name: Run E2E tests on new code in master, push if green
'on':
push:
branches:
Expand Down Expand Up @@ -43,3 +43,19 @@ jobs:
/home/runner/work/forgingmodernity.com/forgingmodernity.com/cypress/screenshots/*
/home/runner/work/forgingmodernity.com/forgingmodernity.com/cypress/videos/*
retention-days: 14

deploy:
needs: cypress-run
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
persist-credentials: false # otherwise, the token used is the GITHUB_TOKEN, instead of your personal access token.
fetch-depth: 0 # otherwise, there would be errors pushing refs to the destination repository.

- name: Push changes
uses: ad-m/github-push-action@master
with:
github_token: ${{ secrets.REPO_GITHUB_TOKEN }}
branch: cloudflare
force: true

0 comments on commit e7e63f9

Please sign in to comment.