mirror of
https://github.com/yude-jp/yude.jp
synced 2024-12-22 20:20:09 +09:00
Cleanup repository (Delete Cloudflare, GitHub Actions related files)
This commit is contained in:
parent
b8dd78d89e
commit
a1d8cbb923
@ -1,46 +0,0 @@
|
||||
name: Cloudflare Workers
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
|
||||
jobs:
|
||||
build-and-deploy:
|
||||
name: Build and Deploy
|
||||
runs-on: ubuntu-18.04
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
|
||||
- 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-
|
||||
|
||||
- name: Install packages
|
||||
run: yarn install --frozen-lockfile
|
||||
|
||||
- name: Build pages
|
||||
run: yarn build
|
||||
|
||||
- name: Export
|
||||
run: yarn export
|
||||
|
||||
- name: Add nojekyll
|
||||
run: touch ./out/.nojekyll
|
||||
|
||||
- name: Publish to Cloudflare Workers
|
||||
uses: cloudflare/wrangler-action@1.3.0
|
||||
env:
|
||||
USER: root
|
||||
with:
|
||||
apiToken: ${{ secrets.CF_API_TOKEN }}
|
||||
workingDirectory: './'
|
@ -1,10 +0,0 @@
|
||||
name = "jp"
|
||||
type = "webpack"
|
||||
account_id = "996274e995fd60596f330964c55997cc"
|
||||
workers_dev = true
|
||||
route = "yude.jp"
|
||||
zone_id = ""
|
||||
|
||||
[site]
|
||||
bucket = "out"
|
||||
entry-point = "workers-site"
|
Loading…
Reference in New Issue
Block a user