Skip to content

post: [OpenFeature] 實際使用 OpenFeature #263

post: [OpenFeature] 實際使用 OpenFeature

post: [OpenFeature] 實際使用 OpenFeature #263

Workflow file for this run

name: Deployment
on:
push:
branches: [ master ]
# paths-ignore: [ .github/workflows/** ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.13]
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: Build
run: |
npm install
npm run build:deploy
- name: Copy 404
run: cp ./dist/blog/browser/browser/index.html ./dist/blog/browser/browser/404.html
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ github.token }}
publish_dir: ./dist/blog/browser/browser
publish_branch: gh-pages
- name: Purge Cloudflare Cache
uses: jakejarvis/cloudflare-purge-action@master
env:
CLOUDFLARE_ZONE: ${{ secrets.CLOUDFLARE_ZONE }}
CLOUDFLARE_TOKEN: ${{ secrets.CLOUDFLARE_TOKEN }}
- name: Telegram Notify
if: always()
uses: appleboy/telegram-action@master
with:
to: ${{ secrets.TELEGRAM_CHAT_ID }}
token: ${{ secrets.TELEGRAM_TOKEN }}
message: |
New Deployment
Status: ${{ job.status }}