Skip to content

Feat: Add mismatched ascended trinkets #405

Feat: Add mismatched ascended trinkets

Feat: Add mismatched ascended trinkets #405

Workflow file for this run

name: 'Build and Deploy - pullrequest CF'
on:
pull_request:
types: [opened, reopened, synchronize, ready_for_review]
env:
PAGES_PROJECT_NAME: discretize-optimizer
jobs:
deployment:
runs-on: ubuntu-latest
if: >
!contains(github.event.head_commit.message, 'skip ci') &&
!contains(github.event.pull_request.body, '[no previews]') &&
(contains(github.event.pull_request.body, '[draft previews]') || github.event.pull_request.draft == false)
timeout-minutes: 10
steps:
- name: Generate preview
env:
APIKEY: ${{ secrets.CF_GLOBAL_APIKEY }}
if: env.APIKEY != null
uses: tomjschuster/cloudflare-pages-deploy-action@v0
with:
account-id: '${{ secrets.CF_ACCOUNT_ID }}'
project-name: '${{ env.PAGES_PROJECT_NAME }}'
api-key: '${{ secrets.CF_GLOBAL_APIKEY }}'
email: '${{ secrets.CF_EMAIL }}'
preview: true
github-token: ${{ secrets.GITHUB_TOKEN }}