Merge pull request #41 from daodaoedu/fix/profile_area_edu #91
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: daodao-f2e | |
on: | |
push: | |
branches: | |
- dev | |
- prod | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
name: daodao-f2e | |
steps: | |
- uses: actions/checkout@v2 | |
- name: daodao-f2e Slack notification | |
id: cf-pages | |
# https://github.com/arddluma/cloudflare-pages-slack-notification | |
uses: arddluma/[email protected] | |
with: | |
accountEmail: ${{ secrets.CF_ACCOUNT_EMAIL }} | |
apiKey: ${{ secrets.CF_API_KEY }} | |
accountId: ${{ secrets.CF_ACC_ID }} | |
# CloudFlare Pages project name | |
project: ${{ secrets.CF_PAGES_PROJECT }} | |
# Add this if you want GitHub Deployments (see below) | |
githubToken: ${{ secrets.GITHUB_TOKEN }} | |
# Create Slack Incoming webhook and add as variable https://hooks.slack.com/... | |
slackWebHook: ${{ secrets.SLACK_WEBHOOK }} | |
# Add this if you want to wait for a deployment triggered by a specfied commit | |
# commitHash: ${{ steps.push-changes.outputs.commit-hash }} |