Skip to content

ci(package): expose host in preview for ci #48

ci(package): expose host in preview for ci

ci(package): expose host in preview for ci #48

Workflow file for this run

---
name: Push from master to cloudflare when all green
'on':
push:
branches:
- master
jobs:
deploy:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
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: Wait for tests to succeed
uses: lewagon/wait-on-check-action@v1.3.1
with:
ref: master
check-name: cypress-run
repo-token: ${{ secrets.REPO_GITHUB_TOKEN }}
wait-interval: 30
- name: Push changes
uses: ad-m/github-push-action@master
with:
github_token: ${{ secrets.REPO_GITHUB_TOKEN }}
branch: cloudflare
force: true