0
0
mirror of https://github.com/yude-jp/yude.jp synced 2025-12-17 05:04:15 +09:00

Initial commit

This commit is contained in:
yude
2021-02-05 16:22:07 +09:00
commit 6ceed7450b
41 changed files with 2873 additions and 0 deletions

View File

@@ -0,0 +1,19 @@
name: Deploy to Cloudflare Workers
on:
push:
branches:
- master
jobs:
deploy-cf:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Publish
uses: cloudflare/wrangler-action@1.3.0
env:
USER: root
with:
apiToken: ${{ secrets.CF_API_TOKEN }}
workingDirectory: './'

28
.github/workflows/firebase.yml vendored Normal file
View File

@@ -0,0 +1,28 @@
name: Firebase Hosting
on:
push:
branches:
- master
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- name: Checkout Repo
uses: actions/checkout@master
- name: Install Dependencies
run: npm install
deploy:
name: Deploy
needs: build
runs-on: ubuntu-latest
steps:
- name: Checkout Repo
uses: actions/checkout@master
- name: Deploy to Firebase
uses: w9jds/firebase-action@master
with:
args: deploy --only hosting
env:
FIREBASE_TOKEN: ${{ secrets.FIREBASE_TOKEN }}