Skip to content

Add not available notices to all WTP pages. #728

Add not available notices to all WTP pages.

Add not available notices to all WTP pages. #728

Workflow file for this run

name: CI
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
deploy:
runs-on: ubuntu-20.04
steps:
- name: Git checkout
uses: actions/checkout@v2
- name: Update theme
run: git submodule update --init --recursive
- name: Setup hugo
uses: peaceiris/actions-hugo@v2
with:
hugo-version: "0.71.0"
extended: true
- name: Setup Node
uses: actions/setup-node@v1
with:
node-version: '12.x'
- name: Cache dependencies
uses: actions/cache@v1
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
- run: npm ci
- run: hugo --minify
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
personal_token: ${{ secrets.PAGES_TOKEN }}
external_repository: foreverphoenix/foreverphoenix.github.io
publish_dir: ./public
user_name: foreverphoenix
user_email: [email protected]
publish_branch: master
cname: thephoenixflavour.com
# - name: Purge cache
# uses: jakejarvis/cloudflare-purge-action@master
# env:
# CLOUDFLARE_ZONE: ${{ secrets.CLOUDFLARE_ZONE }}
# # CLOUDFLARE_TOKEN: ${{ secrets.CLOUDFLARE_TOKEN }}
# CLOUDFLARE_EMAIL: ${{ secrets.CLOUDFLARE_EMAIL }}
# CLOUDFLARE_KEY: ${{ secrets.CLOUDFLARE_KEY }}
- name: Cloudflare Cache Cleaner
uses: Cyb3r-Jak3/[email protected]
with:
zone: ${{ secrets.CLOUDFLARE_ZONE }}
email: ${{ secrets.CLOUDFLARE_EMAIL }}
global_token: ${{ secrets.CLOUDFLARE_KEY }}