July 18 updates continued (#574) #268
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: 'Build and Deploy - staging cf' | |
on: | |
push: | |
branches: | |
- staging | |
workflow_dispatch: | |
env: | |
PAGES_PROJECT_NAME: discretize-optimizer | |
jobs: | |
deployment: | |
runs-on: ubuntu-latest | |
if: "!contains(github.event.head_commit.message, 'skip ci')" | |
timeout-minutes: 10 | |
steps: | |
- name: Deploy staging | |
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 }}' | |
branch: 'staging' | |
github-token: ${{ secrets.GITHUB_TOKEN }} |